Fatal error: Uncaught Exception: Error: MAIL FROM not accepted from server! in /www/wwwroot/http://www.elegantposture.com/system/library/mail/smtp.php:242 Stack trace: #0 /www/wwwroot/http://www.elegantposture.com/system/library/mail.php(142): MailSmtp->send() #1 /www/wwwroot/http://www.elegantposture.com/admin/controller/mail/forgotten.php(24): Mail->send() #2 /www/wwwroot/http://www.elegantposture.com/system/storage/modification/system/engine/action.php(79): ControllerMailForgotten->index(‘user/user/editC…’, Array, NULL) #3 /www/wwwroot/http://www.elegantposture.com/system/storage/modification/system/engine/event.php(67): Action->execute(Object(Registry), Array) #4 /www/wwwroot/http://www.elegantposture.com/system/storage/modification/system/engine/loader.php(263): Event->trigger(‘model/user/user…’, Array) #5 /www/wwwroot/http://www.elegantposture.com/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #6 /www/wwwroot/http://www.elegantposture.com/admin/controller/common/forgotten.php(21): Proxy->__call(‘editCode’, Array) #7 /www/wwwroot/http://www.elegantposture.com/ in /www/wwwroot/http://www.elegantposture.com/system/library/mail/smtp.php on line 242
OpenCart邮箱配置 Error: MAIL FROM not accepted from server!
我的网站OpenCart 3 网站发送留言的时候报错如下,后台忘记密码也有如下报错,这肯定是邮箱的配置的问题。
Fatal error: Uncaught Exception: Error: MAIL FROM not accepted from server! in /www/wwwroot/http://www.elegantposture.com/system/library/mail/smtp.php:242 Stack trace: #0 /www/wwwroot/http://www.elegantposture.com/system/library/mail.php(142): MailSmtp->send() #1 /www/wwwroot/http://www.elegantposture.com/admin/controller/mail/forgotten.php(24): Mail->send() #2 /www/wwwroot/http://www.elegantposture.com/system/storage/modification/system/engine/action.php(79): ControllerMailForgotten->index(‘user/user/editC…’, Array, NULL) #3 /www/wwwroot/http://www.elegantposture.com/system/storage/modification/system/engine/event.php(67): Action->execute(Object(Registry), Array) #4 /www/wwwroot/http://www.elegantposture.com/system/storage/modification/system/engine/loader.php(263): Event->trigger(‘model/user/user…’, Array) #5 /www/wwwroot/http://www.elegantposture.com/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #6 /www/wwwroot/http://www.elegantposture.com/admin/controller/common/forgotten.php(21): Proxy->__call(‘editCode’, Array) #7 /www/wwwroot/http://www.elegantposture.com/ in /www/wwwroot/http://www.elegantposture.com/system/library/mail/smtp.php on line 242
我用的腾讯企业邮箱
配置如下
腾讯企业邮箱,有2个地址,一个是海外SMTP和国内的SMTP。
参考如下
接收邮件服务器:hwpop.exmail.qq.com ,使用SSL,端口号995
发送邮件服务器:hwsmtp.exmail.qq.com ,使用SSL,端口号465
OpenCart的SMTP设置需要加前缀SSL
注意:后台店铺的邮箱和发送的邮箱需要一致。
后台管理员个人资料里面的可以用其他的。