Zend_Mail_Storage_Pop3 发送失败
我使用 Zend 框架创建了一个脚本。脚本的目标是检查电子邮件。当我连接到与虚拟主机不在同一域的 pop3 帐户时(f.ex 主机位于 arkreport.be 上,电子邮件为 [电子邮件受保护]),它有效。但是当我连接到同一托管帐户上的邮件帐户时,它不起作用。
这可能是服务器问题吗?我的网络主机询问我有关连接方式的更多信息,但我只能给他们提供所有使用的代码的简短解释。
也许还有其他选择吗? emailuseraccount中有一个%,也许这是一个问题...我不知道:)
这是错误
致命错误:未捕获的异常“Zend_Mail_Protocol_Exception”,消息“读取失败 - 连接关闭?”在 /var/www/html/library/Zend/Mail/Protocol/Pop3.php:174 堆栈跟踪:#0 /var/www/html/library/Zend/Mail/Protocol/Pop3.php(222): Zend_Mail_Protocol_Pop3- >readResponse(false) #1 /var/www/html/library/Zend/Mail/Protocol/Pop3.php(282): Zend_Mail_Protocol_Pop3->request('PASS passw') #2 /var/www/html/库/Zend/Mail/Storage/Pop3.php(191): Zend_Mail_Protocol_Pop3->login('facturen%arkrep...', 'oj1rak') #3 /var/www/html/application/default/controllers/CronController .php(76): Zend_Mail_Storage_Pop3->__construct(Array) #4 /var/www/html/library/Zend/Controller/Action.php(513): CronController->checkmailAction() #5 /var/www/ html/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('checkmailAction') #6 /var/www/html/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard ->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #7 /var/www/h 位于 /var/www/html/library/Zend/Mail/Protocol/Pop3.php 第 174 行
I have created a script using the Zend Framework. The goal is that the script checks the e-mail. When I connect to a pop3 account that isn't on the same domain as the webhosting (f.ex hosting is on arkreport.be and the e-mail is [email protected]), it works. But when I connect to a mail account on the same hostingaccount, it wouldn't work.
Could this be a server problem? My webhosts asks me more information about the way I connect, but i can't give them more than a short explanation of all used codes.
Is there an alternative perhaps. The emailuseraccount has a % in it, perhaps that is a problem... I don't know :)
This is the error
Fatal error: Uncaught exception 'Zend_Mail_Protocol_Exception' with message 'read failed - connection closed?' in /var/www/html/library/Zend/Mail/Protocol/Pop3.php:174 Stack trace: #0 /var/www/html/library/Zend/Mail/Protocol/Pop3.php(222): Zend_Mail_Protocol_Pop3->readResponse(false) #1 /var/www/html/library/Zend/Mail/Protocol/Pop3.php(282): Zend_Mail_Protocol_Pop3->request('PASS passw') #2 /var/www/html/library/Zend/Mail/Storage/Pop3.php(191): Zend_Mail_Protocol_Pop3->login('facturen%arkrep...', 'oj1rak') #3 /var/www/html/application/default/controllers/CronController.php(76): Zend_Mail_Storage_Pop3->__construct(Array) #4 /var/www/html/library/Zend/Controller/Action.php(513): CronController->checkmailAction() #5 /var/www/html/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('checkmailAction') #6 /var/www/html/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #7 /var/www/h in /var/www/html/library/Zend/Mail/Protocol/Pop3.php on line 174
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的主机可能会拒绝坏字符“%”。
创建一个没有特殊字符(如“%”)的新用户名,仅使用字母。
Your host is probably rejecting the bad character "%".
Make a new username without special characters like "%" use only letters.