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


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


Now, change from

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