Support

Home Forums Event Espresso Premium How to get EE3 to use Mandrill?

How to get EE3 to use Mandrill?

Posted: July 25, 2016 at 1:51 pm


Brian Alexander

July 25, 2016 at 1:51 pm

We’ve had trouble delivering emails via WP’s built-in functionality, so have installed the wpMandrill plugin.

Tests from the plugin, as well as from Gravity Forms notifications (also installed on the site) are going out via Mandrill and delivering fine.

HOWEVER, emails sent by EE3 are still going out via WP.

I’ve seen some instructions in the forums that refer to resolving this in EE4, but how about for those of us who are keeping it old school with EE3?


Josh

  • Support Staff

July 25, 2016 at 2:11 pm

Hi Brian,

When an email goes out through wpMandrill, it’s still first processed through the WordPress via the wp_mail() function. Where things change is the email no longer goes through the server’s built-in mail server.

May I ask how is it that you determined that EE3 emails were not getting sent via Mandrill? Was the email logged as sent through the built-in mail server?


Brian Alexander

July 25, 2016 at 6:06 pm

We tested by looking at the registration confirmation messages, and can see that the email headers do not reflect passing through Mandrill, but instead go through the PHP mailer on the server. We use WP Engine hosting and used to have an SMTP plugin installed that instead routed through AWS SMTP, but that plugin has been disabled and removed.


Josh

  • Support Staff

July 26, 2016 at 10:05 am

Does this occur if all other plugins that hook into the wp_mail() function are disabled?


Brian Alexander

July 26, 2016 at 10:40 am

At this time only wpMandrill should be hooking wp_mail(). There aren’t any other mail-related plugins installed.


Josh

  • Support Staff

July 26, 2016 at 10:56 am

Thanks for checking. Can you go to Event Espresso > General Settings and check the Primary contact email field? There should be only one email address in that field. You can also check and make sure that it’s a valid email address.

Along with the above, do you have any of the plugins from Yoast (like the SEO or analytics plugins) activated?

Have you checked the Mandrill response in your server’s log from when the emails were sent? If there is no response from Mandril when those emails were sent, you could try capturing them with WP_DEBUG_LOG.


Brian Alexander

July 26, 2016 at 1:07 pm

Ah, thank you for the tip for checking Mandrill. The Outbound log shows that the email used by EE3 isn’t verified, so it was apparently rejecting and passing the sending responsibilities back to PHP.

I believe this problem will be solved once our client has verified their email.

Thank you!

The support post ‘How to get EE3 to use Mandrill?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso