DEV Community

Cover image for Amazon SES Setup for Tracking Bounces and Complaints
Smit Vaghasiya
Smit Vaghasiya

Posted on • Edited on

1

Amazon SES Setup for Tracking Bounces and Complaints

Objective

To configure Amazon SES to capture and analyze bounce and complaint notifications for emails sent through SES, ensuring efficient handling of email delivery issues and maintaining sender reputation.

Set Up Amazon SES

Verify Your Domain/Email Address:

  • Go to the Amazon SES console.
  • Verify the email addresses or domain from which you plan to send emails.
  • Optional: Add the TXT, CNAME, and MX records to your DNS for domain verification (if sending from a domain).

Optional: Enable DKIM (DomainKeys Identified Mail):

  • In SES, enable DKIM to sign emails and improve deliverability.
  • Update your DNS with the DKIM records provided by SES.

Send Test Emails

  • Use the SES console or an application to send test emails to ensure the setup is correct.

Configure Bounce and Complaint Notifications

Create a Configuration Set:

  • In SES, create a configuration set to track email sending events like bounces or complaints. Attach Event Destinations:
  • Create new Amazon SNS as an event destination in the configuration set.
  • Specify which events (bounces/complaints) you want notifications for.

Note: Make the separate event destination for bounce and complaint in configuration set.

Set Up Amazon SNS for Notifications

Subscribe to the Topics:

  • Add subscriptions to the topics based on your preference:
  • Email (to receive notifications in your inbox).

Outcome

By completing this setup, you will:

  • Automatically track emails that are bounced or marked as complaints.
  • Receive notifications through Amazon SNS.
  • Use the data to improve email deliverability and reduce sending to invalid or flagged addresses.
  • You can also check the suppression list in SES to see the list of bounce and complaint.

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more