• Magento not sending email? This may help!

    by  • May 28, 2012 • Magento • 2 Comments

    We were getting reports that customers were not receiving email for resetting passwords, order confirmations and account creations.

    We had a test account to verify the email sending problem. The test account would never receive any email correspondence.

    The Magento logs didn’t record any issues accept where the customer entered the wrong email address.

    We contacted the host and they could figure out what was causing the Magento email problem.

    So we did an email trace in the cPanel account to see how the email was being handled. We also checked the servers email sending reports to double check how things were being handled (in WHM it’s called Mail Deliver Reports)

    Turns out that the test email account was associated with one of the domains on the server. However, the email was being handled by Google Gmail apps for business. What was going on was every time an email would be sent to the test account it would not be released to the World Wide Web but direct to one of the users on the server who had ownership of the domain associated with the test email account.  The server was using cPanel and when the domain of the test email account was created on the server had also created a local MX record to handle email (this maybe a default feature of cPanel). The MX record told the email server to send it to the server’s local user regardless of the email address it was suppose to send to.

    Fixing this local redirect was actually very simple. It was a simple edit of the local MX record within the domain to the Google Gmail apps domain name (in cPanel it is located under Mail > MX Entry). Once that was set all email on the test account was being received in Gmail just fine.

    The moral of the story is to make sure the server Magento is installed on has correctly configured email for your needs. This way you can troubleshoot the other reasons customers are not receiving email. 98% of the time the customer has entered their email address with a typo.



    A jolly ol' chap that enjoys the everyday cliff drop, skate park, climbing crag and tree run mixed with a heavy dose of development and design of web sites, print and video production and the rush of marketing ventures.

    2 Responses to Magento not sending email? This may help!

    1. alex
      February 1, 2013 at 3:08 am

      Wow thank you, I really made a lot of research to fid answer to that problem and you are the only one. But, you didn’t mentionned what you change in your MX setting. Could you be specific.

      Thank you


    Leave a Reply

    Your email address will not be published. Required fields are marked *