Amazon AWS SES is a Simple Email Service
where most of the customers will use it as an Email Relay service
to send a large number of email to the users. When we are sending a large number of bulk email to the users it is very much important to ensure that all our recipient's email addresses are valid which in turn helps the quality of the SES service in the email market. You can check here SES docs about more details.
The following are some important notes about the contents of Amazon SNS notifications for Amazon SES:
When we have a large number of recipients in our database there is a high chance of having typos, non-valid email IDs or non-existent domain email ids and etc. To identify such kind of recipient email ids Amazon SES providing a notification service called Amazon SES Bounces notification which you can subscribe it as an SNS notification to deliver all your bounce emails to your operations Distribution List (DL) email ID.
Recently, we have implemented the SES rest API integration to one of our clients and we found few interesting bounce types when the bounce email are delivered to our Operations DL e-mail ID.
If the recipient mail address does not exist or domain does not exist or email address has any problem then ISP will send a bounce notification to the Amazon SES. For get a notification to the sender email box about the bounce mail, you need to configure the Amazon SNS service along with SES to receive the bounce notifications.
The bounce object contains a bounce type of Undetermined
, Permanent
, or Transient
. The Permanent and Transient bounce types can also contain one of several bounce subtypes.
It indicates you should not send any mail to this recipient any more. The ISP will bounce with this particular error. For example, the email address does not exist. When you receive a bounce notification with a bounce type of Permanent, it's unlikely that you'll be able to send email to that recipient in the future. For this reason, you should immediately remove the recipient whose address produced the bounce from your mailing lists.
It indicates that temporary error in delivering the message, something like email id disabled for a couple of days or recipient mailbox is full. When you receive a bounce notification with a bounce type of Transient, you might be able to send email to that recipient in the future if the issue that caused the message to bounce is resolved.
It means that SES does not know whether it is a Permanent or Transient bounce type. In this case, you need to manually review the bounce notification and decides whether to delete the recipient from your list or you want to retry after some time. Here is the some understanding of the Bounce Types
and SubTypes
when they delivered to your Inbox.
In general, Amazon SES manages the history of bounces email ID's. When you see the bounce subtype as suppressed means, SES has suppressed sending the e-mail to the recipient at SES level because it has recent history of bouncing of such email as an invalid address. For information about removing an address from the Amazon SES suppression list, see Removing an Email Address from the Amazon SES Suppression List. You can check here the amazon documentation RemoveList
Example Response
When the recipient domain itself doesn't exist or though his email ID exists but not accepting any more new mails since the email ID is disabled or Inbox is full etc. In this this cases, you will see the bounce sub type as General and type as Transient. You might be able to send to the same recipient in the future when the mailbox is no longer full.