I'm placing an order in Magento but I never receive the Order confirmation e-mail. I think that crons are set up properly. In : System->Advanced->System I set the Heartbeat task schedule (cron syntax) to */5****. Any help would be appreciated.

Thank you in advance.


4 Answers 4


Since Magento 1.9.1, the emails are not being sent directly during checkout but instead are being queued. The queue is being processed via your Magento cronjob.

I suggest you to install this free extension SMTP Pro, set the SMTP config connexion like Gmail for exemple, and dont forget to set Queue Usage to never, save and your problem is solved.


i removed the following mail sending code from Template.php , then i started receiving email when the order is placed by customer or when i click manually send email from the admin panel "Sales/Orders" tab.

Copy Template.php from /app/code/core/Mage/Core/Model/Email/Template.php And paste into your local /app/code/local/Mage/Core/Model/Email/Template.php

Find below line:

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

and replace with the below line

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

This work for me.

  • This worked for me with Magento ver. THANKS!!!
    – Peanuts
    Nov 12, 2018 at 4:33

Just make a small change in order.php


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


Now, change from




after this your order mail working perfectly.

  • No effect... stil not sending e-mail
    – Stefanos
    Jul 11, 2017 at 14:59

Check you cron configuration using AOE Scheduler. You can download it here - https://github.com/AOEpeople/Aoe_Scheduler

If all OK, check cron output using AOE.

Last thing - check postfix and sendmail logs. Maybe isn't configured correctly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.