Close

March 17, 2015

Magento SMTP Pro SES SignatureDoesNotMatch

Recently, we had a client that needed to setup their Magento cart to send out emails through Amazon SES. They installed the free SMTP Pro Magento SMTP Email plugin from AScrhoder and tried to configure it to use their Amazon SES account. When they ran the self-test within Magento Admin, they kept getting an error from the Amazon SES server saying “SignatureDoesNotMatch”. After a bit of digging, we finally figured out the solution.

Essentially, there is very little documentation for setting up the plugin and/or using it with Amazon SES. If you sign in to Amazon SES they encourage you to setup SMTP user accounts to be able to send emails. This seems straightforward and what the client had down. However, after some Googling, it became apparent that that was NOT what the plugin actually was using to send emails. It needed the actually GLOBAL access keys to talk to Amazon’s API and NOT individual SMTP access keys.

To retrieve yours, do the following:

1.) Login to your SES Account
2.) Very Top Right bar you should see your Login Name.
3.) Click the Drop Down and go to “Security Credentials”.
4.) Expand the section that says “Access Keys”. Click the blue “Create New Access Key” button.
5.) Copy/paste and download this key somewhere VERY safe (encrypted drive/safe/etc).

This the access key that SMTP Pro requires to work with your Magento System.

Testing your Magento Setup
1.) Go back into Magento and the SMTP Pro Email Extension and add the SES Access Key and Secret key, then hit “Save Config”.
2.) Double check it is working by going to the section labeled “Logging and Debugging”. Click the “Run Self Test” button.
3.) Go to the Mail Log Section (System -> Tools -> SMTP Pro Log).
If all went well, you should get a very nice shiny green checkbox and green background.

Hopefully this will save some folks a few headaches.

If you’d like to setup a highly reliable mail service like Amazon SES for your cart to guarantee that your customers get their order emails, Contact Us today for a free estimate!