简体   繁体   中英

Magento ver. 1.9.2.1 - Not sending out emails

Got a bit of a strange issue, regarding emails being sent, on our server it used to use postfix and there was a mail.log in /var/log but we have noticed that it has disappeared and is now using phpmail.log instead.

Is there a way we can get the mail log back? Or is there anything in phpmail that we could check and see why its not sending.

Thanks

Go to Template.php, is located in the path /app/code/core/Mage/Core/Model/Email/Template.php . Find and lock the line "if ($this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue) {" and "if (false) {" under it.
Eg.-
//if ($this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue) { if (false) {
Now place an order and check. [Also you have to set order email address from Admin panel ]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM