New order email confirmation is not being sent in magento 1.9

Hello Friends, In the latest stable version of Magento 1.9 you will face the problem that the new order confirmation email won't be sent once the order will be placed. In magento 1.9, they changed the way to send the order confirmation, in this version it sends the email in queue rather than sending the same immediately when the customer places his order. If you want to make it working as it was working in the previous versions of magento then please follow the below steps.

1. Open the file: /app/code/core/Mage/Core/Model/Email/Template.php

2. Change the code at Line 407
if ($this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue) {

to

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

3. Save that file and test the issue. Hope this article helps you to fix your problem. Stay with us for learning many new things in magento.

Thanks,
Pritesh Pritesh

Pritesh Pethani

Request a Quote!!

Share your concept and we will return to you within 24 hours. Let us work out the best software solution for you!

Let's Start
Whatspp