When purchasing something the order goes through on the website the money gets removed from my account but I don't get an email confirmation to confirm my purchase, but I get other emails like wishlist suggestions newsletter etc not at the same time but it seems to be just sales emails.

I recently install http://www.magentocommerce.com/magento-connect/aoe-scheduler.html extention to see what cron jobs I have running on my site.

enter image description here

Why is my core_email_queue_send_all so packed and how do I clean it out ?

Once I selected all my cron jobs and clicked run my sales emails started coming through, I thought this would run automatically but apparently not, any ideas on how to make this run automatically ?

  • 2
    Did you check your crontab? Are other crons actually running? Jan 20 '15 at 12:21
  • Everything says enabled but no according to the timeline view there not actually running, I don't know why I saw somewhere that the corn.php file maybe have been altered so I replaced it with the original i got from the theme and that didn't make a difference. Jan 20 '15 at 12:38
  • Are you sure there is a crontab actually running? That's something you need to configure on your server, not in Magento Jan 20 '15 at 12:49
  • Well there are no cron jobs listed in my server cpanel, is it the cron.php file that needs to be run every 5 mins ? Jan 20 '15 at 12:50
  • 1
    Yes, actually the cron.sh file. You'll need something like */5 * * * * /bin/sh <your_directory>/cron.sh in your crontab Jan 20 '15 at 12:51

I managed to fix this after looking at another article since the update to 1.9.1 magento has moved the job of sending emails to a cron job, now since for some reason my cron jobs aren't working as they should I viewed an article which says you need to remove or comment out line #76 in “Mailer.php" - app/code/Mage/Core/Model/Email/Template/Mailer.php #76 to stop the emails being added to the cron job and have it send using the original way.

  • I'm pretty sure the cron email order queue is a 1.9.1 feature. I think you've got a different issue.
    – ladle3000
    Feb 14 '15 at 2:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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