The order confirmation email is not sent in Magento

It’s very common that the order confirmation email is not sent to the email. And it’s specially problem for the Magento 1.9.x. There is a very simple trick to make it work …

We need to change in order.php in below

public_html/app/code/core/Mage/Sales/Model/Order.php

We have to create one directory structure on the path below, then copy and paste the file to the path below.

public_html/app/code/local/Mage/Sales/Model/Order.php

Now, change from

$mailer->setQueue($emailQueue)->send(); ( for me it was line 1356)

to

$mailer->send();

Advertisements