I've been looking for core_email_queue and core_email_queue_recipients table for Magento 1.7. Both of them are not there.
The reason I am asking is, sometime Order confirmations send out twice to the same customer after order is placed. Two identical emails with order confirmation. It happens occasionally, and I cannot find out why the system does it.
Any ideas how I can check the log of all emails send in magento?
1 Answer 1
You search wrong way.core_email_queue and core_email_queue_recipients comes from Magento 1.9.x version. Before M 1.9.x, after order place email send immediately. So you should search any third party module is responsible or not for sending duplicate email.
[Update]
Got to app/code/core/Mage/Sales/Model/Order.php, sendNewOrderEmail method is fire after order place.
-
Thank you for clarification. Can you please advice where can I find a log of emails sent after order is placed? I am using sendmail function.Icon– Icon2017年04月15日 05:50:42 +00:00Commented Apr 15, 2017 at 5:50
-
Check updated answer.Sohel Rana– Sohel Rana2017年04月15日 05:54:42 +00:00Commented Apr 15, 2017 at 5:54
-
Oh got it, but where do the send logs stored on server in this case? var/log doesn't contain any mailing logs.Icon– Icon2017年04月15日 06:02:31 +00:00Commented Apr 15, 2017 at 6:02