Thursday, February 12, 2015

New order email confirmation not being sent (magento 1.9.1)

In magento 1.9.1.0, magento has added new feature, they store the order email in "Core_email_queue" table to send the mail of order. we have to set the cron.php in server

The corn.php file set the "core_email_queue_send_all" in cron schedule table. when crone execute the "send" method called from Mage_Core_Model_Email_Queue. They send the mail to customer.

If your mail system(smtp, zend_mail) works fine; disabling mailQueue may solve your problem.

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

Change Line 407

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

to

if (false /\*$this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue\*/) {

Reference:

http://magento.stackexchange.com/questions/45571/new-order-email-confirmation-not-being-sent-magento-1-9-1

No comments: