AWS News Blog

Delivery Notifications for Simple Email Service

Amazon Simple Email Service (SES) is a simple, scalable, and cost-effective way to send transactional email, marketing messages, and other types of high-quality content. You can connect your application to Amazon SES using the SES SMTP Interface or a full set of APIs. Either way, you will be able to send your messages with high deliverability, guided by our real-time sending statistics.

Today we are enhancing SES with the addition of delivery notifications. You can now elect to receive an Amazon SNS notification each time SES successfully delivers a message to a recipient’s email server. These notifications give you increased visibility into the mail delivery process. With today’s release, you can now track deliveries, bounces, and complaints, all via notification to the SNS topic or topics of your choice.

JSON Notifications
Each delivery notification is a JSON object that looks like this:


{"notificationType":"Delivery",

  "mail":{
  "timestamp":"2014-05-28T22:40:59.638Z",
          "messageId":"0000014644fe5ef6-9a483358-9170-4cb4-a269-f5dcdf415321-000000",
          "source":"test@ses-example.com",
  "destination":[
  "success@simulator.amazonses.com",
  "recipient@ses-example.com" ]
  },

  "delivery":{
    "timestamp":"2014-05-28T22:41:01.184Z",
    "recipients":["success@simulator.amazonses.com"],
    "processingTimeMillis":1546,     
        "reportingMTA":"a8-70.smtp-out.amazonses.com",
        "smtpResponse":"250 ok:  Message 64111812 accepted"
  } 
}

You can route notifications to an existing SNS topic, or you can create and dedicate a new one. You can configure notification delivery through the SES Console or through the SetIdentityNotificationTopic API.

Get Notified Now
This new feature is available now and you can start using it today!

Jeff;

TAGS:
Jeff Barr

Jeff Barr

Jeff Barr is Chief Evangelist for AWS. He started this blog in 2004 and has been writing posts just about non-stop ever since.