čtvrtek 15. ledna 2015

WooCommerce emails ending up in SPAM - Enable wpMandrill in WordPress and WooCommerce

So, we have a VPS server with e-mail server installed.

By default e-mails from Wordpress and WooCommerce are send out with wp_mail() function. We have problems with that because our store emails are ended up in SPAM folder.

I have read and troubleshoot couple of hours. Added DKIM and SPF to domain, etc.

But I think this is never gonna get end.

Finally I have found service SMTP server Mandrill, which is developed and maintained by folks from MailChimp :). This thing is amazing, you can track openings, clicks, everything... what was the content of the email. It was delivered or not?

For installing the plugin you just need to download wpMandrill plugin within Wordpress or from WP plugin page.

After install you just need to go to: Settings -> Mandrill 
There is a good guide on this page: https://connect.mailchimp.com/how-to/53

  1. First you are asked to create an API key. Register and visit this page: https://mandrillapp.com/settings
  2. Click on + New API key button
  3. Then setup the plugin.
After installing everything just works out of the box. Our store emails are now correctly received in Gmail INBOX and not in the SPAM folder.

Mandrill is able to send 12 000 emails/month for free, but the pricing above that is also good :).

If you ever face the issue that your WooCommerce store emails are ended up in SPAM, you aren't able to get it work as me install Mandrill, take a seat, and enjoy your work! :)

One issue what I have found and going to cover in other topic is this:
WordPress standard emails (password reset, etc.) are plain-text-ish with /n/r code. They look better when we check "Replace all line feeds ("\n") by
in the message body"
Woocommerce sends nice HTML. They look worse when we check "Replace all line feeds ("\n") by
in the message body"




5 komentářů:

  1. Thank you a lot. This helped so much! Spend so much time on trying to find a good solution when I found your article. Thx again, works like a charm.

    OdpovědětVymazat
  2. Very informative article which is about the WooCommerce Plugins and i must bookmark it, keep posting interesting articles.
    WooCommerce Themes

    OdpovědětVymazat
  3. PHP runs efficiently on LINUX and Windows platforms along with dedicated support for interfaces like MYSQL and Apache.
    hire mobile developer

    OdpovědětVymazat
  4. Android Platform is one of the best app development platforms, preferred by much android app development company.
    Android App Development

    OdpovědětVymazat