How To Send Email With Amazon SES Using An Event-Driven System On AWS
Create an IAM role with SES permissions, attach it to a new Lambda function, integrate with API Gateway, test email sending & monitor metrics using SES & CloudWatch.
Let's say you have Exim or another email app on a server that you have to maintain (and maintenance of email servers isn't easy). You want to just hand off the work to AWS Simple Email Service. How many moving pieces do you need? Well, I love the low complexity of event driven architecture. And in this case, since email will take a while to get to a person's inbox anyway, might as well make an event driven email. First you'll want to configure SES and start getting it out of sandbox mode (see details here): setup for SES Ok, so assuming SES is on it's way, and you've added at least your own...