Testing Amazon AWS SES transactional emails programmatically!
A lot of developers use AWS these days. It provides a whole host of useful services that make developing complex apps easier. One such service is AWS SES — the simple email service. With it you can send emails via API calls, which are known as transactional emails.
But testing transactional email services like SES is difficult. How do you make sure that an email was actually sent when you code called an API endpoint? You could test it manually with your own email address OR you could use a service like MailSlurp — a free, end-to-end, email testing API.
MailSlurp lets you randomly generate email addresses during a test that you can then send and receive emails from. So if you want to test the sending of SES email, you can instantiate a new empty email address during a test, trigger the code that sends the SES email, and then verify that the email arrived in the users inbox. You can even fetch the email content and parse the results (for perhaps say, the right language, or correct link for a user).
Check it out at https://www.mailslurp.com or MailSlurp.