Amazon SES Extension

Amazon SES is a powerful email delivery service which can be used to send a massive number of emails from the Amazon cloud. Amazon provides a second service, Amazon SNS, to receive notifications about failed deliveries.  The extension magically simplifies the configuration of those services.

Note: The Amazon SDK requires at least PHP version 5.3.3 with curl, zlib ans ssl. Anyway any decent hosting providers have those at minimum.

Generating the Amazon Key and Secret

Once your Amazon account is active, you should generate the Key and the Secret which let the extension talk directly with Amazon. Enter Amazon “Your Security Credentials” page, then proceed pressing the “Create New Access Key”. See screenshot below for reference.

newsletter-amazon-ses-2

You’ll get the popup as shown in the picture below. Copy exactly the two values in the configuration panel and remember to select the correct Amazon region.

newsletter-amazon-ses-3

Verify your sending address

Before sending your emails with Amazon, the SES service requires a validation of the email address you want to use as sender address. Your sender address is configured in the main Newsletter configuration.

The extension does everything automatically, just press the “check” button: a check is made with SES service and eventually a verification button is displayed.

If needed, start the verification: an email is delivered by Amazon at the sender address (so a real mailbox must be associated with it) with a link to confirm. Just follow the instructions message.

To check if the address has been correctly verified you can use the “check status” button or enter the SES console in the right Amazon region to see if your sender address is listed as verified.

How to run a test

If everything is  configured correctly, you can run a test. A message is sent to all your test subscribers using the Amazon SES service (even if the extension is not enabled).

When the test is positive you can enable the extension so Newsletter will use it to send every email.

How to handle bounces

Amazon handles bounce notification in a rather complex way. This extension simplifies the configuration reducing it to a button: “Activate the bounce tracking”.

Once tracking is active, Amazon starts to notify the bounced addresses but sends also an email message to the sender address. This could be quite annoying, so you can disable this Amazon feature directly in the Amazon SES console. See the screenshot below.

newsletter-amazon-ses-1

Hard and soft bounces

Amazon distinguishes between hard bounces (non recoverable delivery errors) and soft bounces (possibly recoverable errors, like full mailbox). If you prefer to mark as bounced even the addresses with recoverable errors, you can activate the processing of soft bounces.