简体   繁体   English

Zend Framework - 致命错误:未捕获的异常“Zend_Mail_Protocol_Exception”

[英]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邮件

  • mail.encoding = UTF-8邮件编码 = UTF-8
  • mail.useSmtp = true mail.useSmtp = 真
  • mail.smtp.server = mail.*******.** mail.smtp.server = mail.*******.**
  • mail.smtp.port = 465邮件.smtp.port = 465
  • mail.smtp.ssl = ssl邮件.smtp.ssl = ssl
  • mail.smtp.auth = login mail.smtp.auth = 登录
  • mail.smtp.username = @ .** mail.smtp.username = @ .**
  • mail.smtp.password = ********** mail.smtp.password = **********

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.

相关问题 PHP致命错误:消息“ 501 &lt;&gt;”未捕获的异常“ Zend_Mail_Protocol_Exception”:本地部分丢失或格式不正确 - PHP Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception' with message '501 <>: missing or malformed local part 无法在 Zend 中使用 gmail SMTP 发送电子邮件。 出现致命错误:未捕获的异常“Zend_Mail_Protocol_Exception”。 如何解决这个问题? - Unable to send email in Zend using gmail SMTP. Getting Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception'. How to fix this? Gmail 3足OAuth访问权限-Zend_Mail_Protocol_Exception - Gmail 3-legged OAuth access — Zend_Mail_Protocol_Exception Xampp Zend_Mail_Protocol_Exception:无法找到套接字传输“ ssl”-library \\ Zend \\ Mail \\ Protocol \\ Abstract.php:277 - Xampp Zend_Mail_Protocol_Exception: Unable to find the socket transport “ssl” - library\Zend\Mail\Protocol\Abstract.php:277 使用相同的传输配置,在生产环境中发生“ Zend_Mail_Protocol_Exception:不正确的身份验证数据”,但是在本地主机中发生 - “Zend_Mail_Protocol_Exception: Incorrect authentication data” happening in production, but NOT in localhost, using the same transport config 获取致命错误:zend框架中未捕获的异常“ Zend_Db_Adapter_Exception” - Geting Fatal Error: Uncaught exception 'Zend_Db_Adapter_Exception' in zend framework ZEND FRAMEWORK致命错误:未捕获的异常&#39;Zend_Application_Bootstrap_Exception&#39; - ZEND FRAMEWORK Fatal error: Uncaught exception 'Zend_Application_Bootstrap_Exception' 致命错误:Zend ServiceManager 中未捕获的异常 - Fatal error: Uncaught exception in Zend ServiceManager 致命错误:未捕获的异常 &#39;Zend_Session_Exception&#39; 带有消息 &#39;Zend_Session::start() - Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() 致命错误:消息为“ Zend_Db”未注册任何条目的未捕获异常“ Zend_Exception” - Fatal error: Uncaught exception 'Zend_Exception' with message 'No entry is registered for key 'Zend_Db''
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM