遇到了奇怪的问题,真的。系统>系统>邮件发送设置(禁用电子邮件通信)中的选项为否。我没有安装任何插件,没有完成任何更新。我有 Magento 1.8。
这就是我在magento日志中得到的。
exception 'Exception' with message 'This letter cannot be sent.' in /httpdocs/app/code/core/Mage/Core/Model/Email/Template.php:412
Stack trace:
#0 httpdocs/app/code/core/Mage/Core/Model/Email/Template.php(520): Mage_Core_Model_Email_Template->send(Array, Array, Array)
#1 /httpdocs/app/code/core/Mage/Core/Model/Email/Template/Mailer.php(79): Mage_Core_Model_Email_Template->sendTransactional('sales_email_ord...', 'general', Array, Array, Array, '2')
#2 /httpdocs/app/code/core/Mage/Sales/Model/Order.php(1329): Mage_Core_Model_Email_Template_Mailer->send()
#3 /httpdocs/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(130): Mage_Sales_Model_Order->sendNewOrderEmail()
#4 /httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_OrderController->emailAction()
#5 /httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('email')
#6 /httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 /httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#8 /httpdocs/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#9 /httpdocs/index.php(87): Mage::run('', 'store')
#10 {main}
好吧,只有当我在英文网站上时它才有效。当我切换到其他语言时,它不再起作用,也不再联系表格或任何其他表格。我的商店里只有两种语言。