How can I access my Amazon SES logs?
Last updated: 2020-05-06
I send emails using Amazon Simple Email Service (Amazon SES), and I want to get logs or notifications for bounces, complaints, delivery, failures, or rejections. How can I do that?
To get logs or notifications about your email-sending events on Amazon SES, use one of the following configurations:
Use email feedback forwarding
By default, Amazon SES sends you emails when the messages that you send using Amazon SES get a bounce or complaint. The destination that you check for these bounce or complaint notifications depends on your email-sending operation. For more information, see Email Feedback Forwarding Destination.
Use an Amazon Simple Notification Service (Amazon SNS) topic to send notifications about Amazon SES events
You can use an Amazon SNS topic for notifications about email delivery, bounces, or complaints on Amazon SES.
Follow these steps to configure an Amazon SNS topic for Amazon SES events:
- Create an Amazon SNS topic.
- Subscribe an endpoint (such as an email address) to receive notifications from the Amazon SNS topic.
- Configure your Amazon SES verified identity (domain or email address) to send event notifications to the Amazon SNS topic that you created. You can do this using either the Amazon SES console or the Amazon SES API.
After you configure an Amazon SNS topic for Amazon SES event notifications, you receive notifications at the endpoint that you subscribed to the topic. For more information on the details in the notifications, see Amazon SNS Notification Contents for Amazon SES and Amazon SNS Notification Examples for Amazon SES.
Use a configuration set to publish email-sending events to Amazon SNS, Amazon CloudWatch, or Amazon Kinesis Data Firehose
With an Amazon SES configuration set that publishes events, you can get information about sends, rejects, bounces, complaints, deliveries, opens, clicks, or Rendering Failures.
To use an Amazon SES configuration set to publish events, you must create a configuration set, specify the event destination, and specify the parameters for the events that you want to publish. For step-by-step instructions, see Setting Up Amazon SES Event Publishing.
Then, you must configure your email-sending method to pass the name of the configuration set in the headers of your emails. This is required for Amazon SES to apply the configuration set to your emails. For more information, see Specifying a Configuration Set When You Send Email.