OpenCart - 中文论坛

标题: opencart2.3.0.2,.配置smtp后,前台注册跳转出错 [打印本页]

作者: dongcatfly    时间: 2017-11-1 22:43
标题: opencart2.3.0.2,.配置smtp后,前台注册跳转出错
大家有没有碰到同样的问题
opencart2.3.0.2,配置SMTP后,前台注册跳转出错信息
尝试过gmail.  163 .  QQ 都出现同样的出错信息

Warning: fsockopen(): unable to connect to smtp.qq.com:587 (Connection refused) in /home/content/57/7818457/html/system/library/mail.php on line 167
Fatal error: Uncaught exception 'Exception' with message 'Error: Connection refused (111)' in /home/content/57/7818457/html/system/library/mail.php:170 Stack trace: #0 /home/content/57/7818457/html/catalog/model/account/customer.php(55): Mail->send() #1 [internal function]: ModelAccountCustomer->addCustomer(Array) #2 /home/content/57/7818457/html/system/storage/modification/system/engine/loader.php(189): call_user_func_array(Array, Array) #3 [internal function]: Loader->{closure}(Array, Array) #4 /home/content/57/7818457/html/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array) #5 /home/content/57/7818457/html/catalog/controller/account/register.php(21): Proxy->__call('addCustomer', Array) #6 /home/content/57/7818457/html/catalog/controller/account/register.php(21): Proxy->addCustomer(Array) #7 [internal function]: ControllerAccountRegister->index() #8 /home/content/57/7818457/html/system/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array) #9 /home/content/57/7818457/ in /home/content/57/7818457/html/system/library/mail.php on line 170



作者: sunboy    时间: 2017-11-2 11:19
看看服务器网络端口是否打开

作者: dongcatfly    时间: 2017-11-5 23:01
谢谢,最终是空间的问题,smtp问题解决,同时参考之前一位大师的帖子解决了contact us的报错问题,话说mail协议在opencart中没有办法实现可惜
作者: sunboy    时间: 2017-11-8 22:22
mail协议很多时候和主机环境有关系,加上服务商不愿意用自己主机发邮件,所以很多时候用smtp了
作者: eric4048    时间: 2018-1-3 10:05
阿里邮箱也行,163,QQ的也可以,QQ的话不是用QQ密码,是QQ密钥
作者: shenenhua    时间: 2019-12-4 12:22
Fatal error: Uncaught exception 'Exception' with message 'Error: DATA not accepted from server!' in E:\wwwroot\2019\feicewatchshop\system\library\mail\smtp.php on line 328
( ! ) Exception: Error: DATA not accepted from server! in E:\wwwroot\2019\feicewatchshop\system\library\mail\smtp.php on line 328


请问这是缺少什么组件(在其他服务器上正常)




欢迎光临 OpenCart - 中文论坛 (https://bbs.opencart.cn/) Powered by Discuz! X3.2