How to replace Mandrill for email on WordPress with AWS SES.




Mandrill, is in the process of ending their free account level for email.  They are merging with Mailchimp and in order to continue using Mandrill for your email on WordPress you will have to have a paid account with Mailchimp.  For new accounts this comes into effect on March 14th.  For current accounts, the change will occur by April 27th.  Once the deadlines passes, anyone using Mandrill on WordPress will no longer work, if you have not upgraded your Mailchimp account or merged your Mandrill account with a paid level of Mailchimp.

There is another option, AWS SES for email can be used on WordPress to handle your email instead of Mandrill.  The plugin is located here:

Steps to change your wordpress site’s email from Mandrill to AWS SES

Requirements for your server:

  • Self hosted WordPress Blog
  • PHP 5  and Curl PHP extension
  • An Amazon Web Service account
  • Ability to Validate your SES service

Step 1: Download Plugin

  • Deactivate your Mandrill Plugin
  • Upload and activate the WP SES plugin

Step 2: Settings

The settings for this plugin are located under Settings/WP SES

  • Fill in the email address and name you wish to use as the sender for all emails (see image 1 below)
  • If you haven’t done so already, you will need to add your domain as a verified domain that you own in your Amazon SES console.  (involves adding a txt record to your domain settings on your server) Note: Amazon can take up to 72 hours to verify that you have added the record.
  • Make sure you add the sender email as a confirmed sender in your Amazon SES console.
  • Amazon SES will send you a confirmation email, make sure you click the link.

(Image 1)

Step 3: API Keys

You will need your API Keys for this part of the setup.  Be sure to add your access_key and your secret_key.  You also will need to pick a location for the SES endpoint from the dropdown.

  • Fill in your Amazon API credentials and same sender email (see image 2)
  • Save changes (Important !)

(Image 2)

Step 4: Testing

At this point email should work.  Send a test email.

  • Refresh the plugin, send a test email (see image 3 below)

(Image 3)

Step 5: Production Test

Note that at this point in the setup all the red text should be gone or turned to green.  If not, you have missed something go back through the steps and check your input values.

  • If your test email is successful, ask Amazon to change it from sandbox to production.
  • Retest your email in production mode to make sure everything is working as expected.
  • If production email test is successful, you can use the top button to activate the plugin.
  • From the plugin, you can manage and validate other senders if needed.

Comments are closed.