Search code examples
amazon-web-servicesamazon-snsamazon-ses

Confused by Aws SES timestamp, how does it work?


I configured my SES notifications sent to SNS service. When I send email from SES using python, SNS send me notifications about email is sent & delivered with timestamps. But at that time I didn't receive email at all while Aws SES notifies me it's delivered. I received the email few minutes after that. Anyone can explain how these timestamps works?


Solution

  • The timestamps are when SES successfully sent the email message but those timestamps have nothing to do with how long it takes your mail client to check the mail server for new messages and download the messages to the client, or even how long your mail server takes to route the message to the right inbox (although that should be very fast).

    Consider the case where your may client is configured to check for new emails every 5 minutes:

    Minute 1: SES successfully delivers the email.
    Minute 2: SNS delivers the notification to you with Timestamp 1.
    Minute 5: Your email client checks the mail server and detects there is a new message, and downloads it.

    You will see the message in your email client at Minute 5 although SES delivered it at Minute 1.

    Hope this helps.