1

I have read about and am realized that order-related emails are now queued up in the database instead of being sent out directly in CE 1.9.1.0.

I have installed two magento's onto two different servers, both of which are CE 1.9.1.0. And I have not configured the cronjobs for any of them. One of them behaved just as described in the release note. I could find new records in the table core_email_queue. However, for the other one, emails were sent out immediately without any records created in the table core_email_queue.

Actually, the one that "bypassed" the email queue was not installed and configured by me. So I wonder how I could find out why they behaved differently, given that no classes have been overridden in both magento's.

Thank you in advance.

d.yuk
  • 669
  • 5
  • 15
  • many question to be clearer, but first, are System->Configuration->Advanced->System->Cron configurations same on both websites? – Tran Dinh Khanh Jul 07 '15 at 08:44
  • @KhanhTranDinh Dear Sir, thanks for your help. I understand this is not a very good question to ask, because there are a lot of possible causes. But I really had no idea where to look at right now. And for your question, yes, they are exactly the same. – d.yuk Jul 07 '15 at 08:49
  • Look at crontab of both servers. 2. is there any SMTP extension installed on the "bypassed" one?
  • – Tran Dinh Khanh Jul 07 '15 at 08:52
  • @KhanhTranDinh No crontab tasks are configured for any of the servers. And no extensions are installed on the "bypassed" one. That is why I feel so confused. – d.yuk Jul 07 '15 at 08:57
  • 1
    Ensure that other developers of your sites don't bypass the queue check in Template.php. Refer to http://magento.stackexchange.com/a/54582/4848 and check your code again. – Tran Dinh Khanh Jul 07 '15 at 09:04
  • @KhanhTranDinh Oh my goodness, one of my colleagues really has modified this file!! Thanks a lot man!! How could I reward you the points you deserve? – d.yuk Jul 07 '15 at 09:20
  • You're welcome, I'm glad to help. But anyway, to make our community clean, I will add a seperate answer for you marking accepted to archive your question. – Tran Dinh Khanh Jul 07 '15 at 09:45