New order email confirmation is not working in Magento 1.9

After upgrading or installing to magento 1.9 you will face issue that the new order confirmation email couldn’t be sent once the order is 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 se

nding the same immediately when the customer places his order.

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.

Hope this issue resolve your problem.

Previous Post

Update customer group price programmatically Magento

Next Post

Delete associated simple and configurable products programmatically in Magento

3 comments

  1. Dianna says:

    Hi,

    The website I am working on doesn’t sends the orders notification email either to admin nor to the customers. But the admin and customers receive registration and reset password notification emails. I don’t know why this is happening. I am facing this issue for the past 20 days.

    1. Webpioneer says:

      Hi Dianna,

      Which version of magento you are using?

  2. thanhdanglow says:

    Hi I am sօ glad І found your blog, I rеally fοund yoᥙ by accident, whiⅼe I was searching оn Yahoo
    foг something else, Nonethelеss I am heгe now and ѡould jսѕt ⅼike to say
    many tɦanks for a incredible post and a аll rߋund interesting blog (I ɑlso love tһe theme/design), ӏ don’t have time to
    go tһrough іt all at the mіnute but I haѵe saved it ɑnd also
    added yoսr RSS feeds, so ԝhen I havе timе I will bе bacқ to
    read morе, Please dο keep սp tɦe fantastic ԝork.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top