We have installed Magento in server.

We create new order in front-end not getting mail .It is issues only in front-end new order mail .

What is batter way to solved it .I checked other stack overflow issues related mail but not getting any solution .

Please help me.


3 Answers 3


You have to flow 2 Steps

Step First :

You have to set cron setting in your admin like below ,

Goto : ADMIN -> SYSTEM -> ADVANCED -> SYSTEM -> Cron (Scheduled Tasks) - all the times are in minutes

set as per your need

enter image description here


set cron file into you Cpanel

Goto Cpanel -> Search " Cron Jobs " -> set you cron file

*/15 * * * * wget -q -O /dev/null /Magento_root_path/cron.php

Step Second :

Just copy Template.php file into below path


And Make directory like below and paste there.


Now edit new Template.php and Goto line number : 407

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

Update as

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

Then please clear cache and check.

Hope this will help you.


starting 1.9.1 Magento uses cron queue to send transactional emails

make sure you enable cron on your server and add this line to crontab:

*/15 * * * * /bin/bash /path_to_magento_root/cron.sh
  • I already enable cron and also set cron file in our server.
    – Janmesh
    Dec 16, 2016 at 4:16

Download this extension and configure in your store.


and then goto

System->configuration->Aschroder Extensions->SMTP Pro->Queue Configuration

and set Queue Usage to never

  • I had installed extension but in log file getting error like : "Email not sent immediately, queued for sending." .How to resolved it.
    – Janmesh
    Dec 15, 2016 at 14:24
  • @janmesh check my updated answer. Dec 16, 2016 at 5:18

Your Answer

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

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