On January 11, 2020, the Mandrill email sending service (from MailChimp) will be upgrading their infrastructure resulting in an outage from 1am – 7am EST.
Miller Media maintains the popular Send Emails with Mandrill WordPress plugin that is used by over 2,000 WordPress sites around the internet which will be affected by the Mandrill outage. While imperfect, the plugin will still work by using it’s built-in fallback method without any additional configuration.
There is important information and additional optional adjustments that can be made to improve your site’s performance during this scheduled downtime. Read below for our suggested updates
Miller Media WordPress Suggestions for Mandrill Outage
- Download the Miller Media ‘Retry Mandrill’ plugin
We have created a plugin to handle failed Mandrill API calls as an extension to Send Emails with Mandrill. With this plugin, any time an email fails with Mandrill, it gets queued up to be tried again. If it fails again, it temporarily sleeps and then continues to be retried over the course of a two day period until it either eventually succeeds or determines it cannot be sent. This should easily handle the 6 hour outage.
As a note on this plugin, if emails fail and you would like to manually retry them you can go into
Tools -> MWP Task Runner, check the box next to the task you would like to retry and then choose
Run Nextfrom the dropdown.
Download here: Retry Mandrill
- Create your own custom fallback action (for developers)
The Send Emails with Mandrill plugin has a built-in fallback WordPress action. For developers familiar with creating their own custom solutions, you can use this action (named
wp_mail_native) to build your own custom solution. This action can be seen in more detail on the Send Emails with Mandrill GitHub.
This action is triggered when an API call to the Mandrill API returns an status response that is neither ‘sent’ nor ‘queued’ which infers a general failure. During the outage, the Mandrill API will return a status of ‘error’, thus triggering this action. The default action is to use the
wp_mail()function but using
wp_mail_nativewill allow any developer to override that function.
- Download an email logging plugin to preserve all emails sent
The worst case scenario during this outage is that, after a failed Mandrill API call, the WordPress site attempts to send an email out and that fails resulting in the email not being logged anywhere and never being delivered. This would create a situation where the email was lost forever. Additionally, you may want to resend any emails sent during the outage because they could get filtered into the recipient’s spam folders.
Due to this, if you do not take advantage of the other suggested options, we recommend installing an ’email logging’ plugin to keep a record of all emails sent (or attempted to be sent) from your WordPress site. Some popular ones, in order of our preference, are:
WP Mail Logging
WP Mail Logging is used by over 90,000 WordPress sites. Log all emails sent through the site and attempt to resend with the click of a button. Easy!
Active on over 30,000 WordPress sites, Email Log is a reliable way to simply log the emails that are sent and attempted on your WordPress site. With an additional $19 premium add-on, you can easily attempt to resend any logged email.
For more information directly from the Mailchimp/Mandrill website, follow the link below: