Magento Not Sending Order Emails

If you are having problems with Magento 1.9.X.X Community Edition not sending order email notifications, we found this simple fix on the Magento Forums. While I agree that this may not be the PROPER way to fix this issue, at least it works and is very simple to do.

Go to:

app/code/core/Mage/Core/Model/Email/Template.php

Go to line 407. It should read:

if ($this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue) {

simply change that line to read:

if (!$this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue) {

and save your file. All we did was add a ! before the $this-> part.

Make sure you test this change BEFORE you close the file!

Hope that helps with your problems with Magento not sending order emails.

if (!$this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue)

Comments are closed.