Skip to content
Advertisement

Tag: amazon-ses

Mock AWS SES using jest in typeorm

Need to test AWS SES using jest unit testing But showing different errors, also tried solutions in another stackoverflow question The actual code to be tested is : the test file is : Its giving error message as: Answer Actually this mock works, the reason behind the error is that , i didn’t mocked the AWS.Credentials.

AWS javascript SDK SES SendMail Illegal Address

I’m attempting to send mail using AWS SES. Here’s the error I’m seeing: Here’s the request object being passed in to SendMail method of AWS.SES for javascript SDK. bob@gmail.com is verified on my account (which is still in sandbox mode). donotreply@kudo.io is also verified on my account. Edit: I just tested it by using the test email option in SES

Advertisement