[英]Zend Framework - Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception'
can someone help?有人可以帮忙吗? I have issue with sending mail from website (eshop) after order confirmation.
订单确认后,我无法从网站 (eshop) 发送邮件。 Zend fremework is used to 2 identically eshop.
Zend fremework 用于 2 个相同的 eshop。 Both use the same classes, same settings, on one it works fine and on the other one crashes with this error:
两者都使用相同的类,相同的设置,一个工作正常,另一个崩溃并出现此错误:
Settings:设置:
Zend framework, Eshop, PHP version 5.3 Zend框架,Eshop,PHP 5.3版本
MAIL邮件
ISSUE问题
Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception' with message 'No connection has been established to mail8.hostmaster.sk' in /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Protocol/Abstract.php:312 Stack trace:致命错误:/home/hn003000/www_root/ShibumiFramework/Zend/Mail/Protocol/Abstract.php:312 堆栈跟踪中未捕获异常“Zend_Mail_Protocol_Exception”,消息“未建立到 mail8.hostmaster.sk 的连接”:
#0 /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Protocol/Abstract.php(370): Zend_Mail_Protocol_Abstract->_receive(300) #0 /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Protocol/Abstract.php(370):Zend_Mail_Protocol_Abstract->_receive(300)
#1 /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Protocol/Smtp.php(199): Z Zend_Mail_Protocol_Abstract->_expect(220, 300) #1 /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Protocol/Smtp.php(199):Z Zend_Mail_Protocol_Abstract->_expect(220, 300)
#2 /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Transport/Smtp.php(198): Z Ze Znd_Mail_Protocol_Smtp->helo('localhost') #2 /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Transport/Smtp.php(198): Z Ze Znd_Mail_Protocol_Smtp->helo('localhost')
#3 /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Transport/Abstract.php(349): Zend_Mail_Transport_Smtp->_sendMail() #3 /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Transport/Abstract.php(349):Zend_Mail_Transport_Smtp->_sendMail()
#4 /home/hn003000/www_root/ShibumiFramework/Zend/Mail.php(960): Zend_Mail_Transport_Abstract->send(Object(Shibumi_Mail)) #4 /home/hn003000/www_root/ShibumiFramework/Zend/Mail.php(960): Zend_Mail_Transport_Abstract->send(Object(Shibumi_Mail))
#5 /home/hn003000/www_root/ShibumiFramework/Shibumi/Mail.php(27): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp)) #5 /home/hn003000/www_root/ShibumiFramework/Shibumi/Mail.php(27): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#6 /home/hn003000/www_root/www_akva24/application/modules/catalog/controllers/ in /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Protocol/Abstract.php on line 312 #6 /home/hn003000/www_root/www_akva24/application/modules/catalog/controllers/ 在 /home/hn003000/www_root/ShibumiFramework/Zend/Mail/Protocol/Abstract.php 第 312 行
Thanks for answers感谢您的回答
I tried change to TLS我尝试更改为 TLS
I tried another mail server我试过另一个邮件服务器
Requests did not arrive on the mail server请求未到达邮件服务器
My hosting privider blocked php mail function on my site.我的托管提供商在我的网站上阻止了 php 邮件 function。 After they fixed it (a week of convincing that the fault is with them) it works, Thanks, solved
在他们修复它之后(一周的时间确信问题出在他们身上)它起作用了,谢谢,解决了
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.