Integration: Amazon Simple Email Service (SES) Notification
Amazon Simple Email Service (SES) is an email sending service to send marketing, notification, and transactional emails. You can use the SMTP interface or one of the AWS SDKs to integrate Amazon SES directly into your existing applications. SES can send notifications to SNS. Supported notification types are:
- Bounce: e.g., the recipient does not exist
- Complaint: the recipient marked the email as spam
- Delivery: the email was delivered
You can select the events that you want to receive.
Monitoring email bounces
If you send out emails, the SMTP server on the other end may reject the message. This could be caused because the recipient does not exist or the inbox of the recipient is full. You may want to know about this event to clean up your database.
Enable SES notifications for a domain
- Visit https://console.aws.amazon.com/ses/home?region=us-east-1
- Click on the Domains link on the left
- Click on the domain where you want to enable notifications
- Expand the Notifications section
- Click on the Edit Configuration button
- Set Bounces to
marbot
or your other SNS topic name - Save by clicking the Save Config button.
Sample Alert
To simulate a delivery failure:
- Visit https://console.aws.amazon.com/ses/home?region=us-east-1
- Click on the Domains link on the left
- Select the domain where you have enabled notifications
- Click on the Send a Test Email button
- Set From to
test
- Set To to `notexistent@domain.com`, replace domain.com with the selected domain
- Set Subject and Body to
test
- Send the email by clicking the Send Test Email button.
You should receive an alert in Slack:
Chatbot for AWS Monitoring
Configure monitoring for Amazon Web Services: CloudWatch, EC2, RDS, EB, Lambda, and more. Receive and manage alerts via Slack. Solve incidents as a team.