Magento:异常'Zend_Mail_Transport_Exception',消息'无法发送邮件

时间:2013-10-14 15:22:23

标签: php magento email zend-mail

Magento 1.7,Qmail as smtp,Parallel plesk 10.3,Centos

由于我的magento安装中有几天没有发送电子邮件,因此该问题仅影响一个magento安装。

例外日志报告:

2013-10-14T15:05:41+00:00 ERR (3):
exception 'Zend_Mail_Transport_Exception' with message 'Unable to send mail. ' in /var/www/vhosts/domain.ext/httpdocs/lib/Zend/Mail/Transport/Sendmail.php:137
 Stack trace:
#0 /var/www/vhosts/domain.ext/httpdocs/lib/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /var/www/vhosts/domain.ext/httpdocs/lib/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
 #2 /var/www/vhosts/domain.ext/httpdocs/app/code/core/Mage/Core/Model/Email/Template.php(454): Zend_Mail->send()
#3 /var/www/vhosts/domain.ext/httpdocs/app/code/core/Mage/Core/Model/Email/Template.php(506): Mage_Core_Model_Email_Template->send(Array, Array, Array)
#4 /var/www/vhosts/domain.ext/httpdocs/app/code/core/Mage/Core/Model/Email/Template/Mailer.php(79): Mage_Core_Model_Email_Template->sendTransactional('sales_email_ord...', 'sales', Array, Array, Array, '5')
 #5 /var/www/vhosts/domain.ext/httpdocs/app/code/core/Mage/Sales/Model/Order.php(1393): Mage_Core_Model_Email_Template_Mailer->send()
 #6 /var/www/vhosts/domain.ext/httpdocs/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(276): Mage_Sales_Model_Order->sendOrderUpdateEmail('1', 'test')
 #7 /var/www/vhosts//domain.ext/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Adminhtml_Sales_OrderController->addCommentAction()
 #8 /var/www/vhosts//domain.ext/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('addComment')
 #9 /var/www/vhosts/domain.ext/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
 #10 /var/www/vhosts/domain.ext/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
 #11 /var/www/vhosts/domain.ext/httpdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#12 /var/www/vhosts/domain.ext/httpdocs/index.php(87): Mage::run('', 'store')
#13 {main}

qmail包装器显示电子邮件标题没有问题 mail.log中没有错误

error.log报告:

 qmail-inject: fatal: unable to parse this line:
 From: Global-seller: e-commerce <senderemail> 

*(senderemail =正确的magento电子邮件)*

服务器上的smtp运行正常(所有其他域都在发送电子邮件) 安装在具有不同域的同一服务器上的其他magento没有问题。 magento设置在端口25上配置为localhost

服务器上未安装postfix

任何提示? 感谢

1 个答案:

答案 0 :(得分:1)

我猜测它是因为来自全名卖家:电子商务&#39;。额外的冒号可能会把它扔掉。 - aynber 17分钟前

是,已解决了谢谢 - 用户1844237 13分钟前