magento:客户无法使用contact us 留言发邮件,提示: Unable to submit your request. Please, try again later
2018-02-23 16:43
381 查看
查看sendmail文件夹下debug.log错误记录
18/02/23 12:57:03 ** --- MESSAGE END ---
18/02/23 12:57:03 ** Connecting to smtp.126.com:25
18/02/23 12:57:13 ** Disconnected.
18/02/23 12:57:13 ** Disconnected.
18/02/23 12:57:13 ** Disconnected.
18/02/23 12:57:13 ** Disconnected.
发现magento、sendmail设置都正常,可是留言邮件就是不正常。
百思不得其解!
后来竟然发现是阿里云防止滥发垃圾邮件,将sendmail用的25端口全部封掉了。
那么只能用465 ssl端口了。
配置如下:
1、magento:
设置>高级设置里 port 25修改为465端口
2、sendmail下sendmail.ini文件设置如下:
smtp_server=smtp.126.com
; smtp port (normally 25)
smtp_port=465
SMTPS (SSL) support
; auto = use SSL for port 465, otherwise try to use TLS
ssl = alway use SSL
; tls = always use TLS
; none = never try to use SSL
重启网站服务器。
另外用qq.com、126.com等免费邮箱的smtp,都需要在邮箱设置里面单独设置授权密码和免费邮箱的登录密码区分开来。这个授权密码在sendmail.ini文件设置会用到。
auth_username=XXXXX
auth_password=XXXXX(此处填写授权密码而非邮箱登录密码)
18/02/23 12:57:03 ** --- MESSAGE END ---
18/02/23 12:57:03 ** Connecting to smtp.126.com:25
18/02/23 12:57:13 ** Disconnected.
18/02/23 12:57:13 ** Disconnected.
18/02/23 12:57:13 ** Disconnected.
18/02/23 12:57:13 ** Disconnected.
发现magento、sendmail设置都正常,可是留言邮件就是不正常。
百思不得其解!
后来竟然发现是阿里云防止滥发垃圾邮件,将sendmail用的25端口全部封掉了。
那么只能用465 ssl端口了。
配置如下:
1、magento:
设置>高级设置里 port 25修改为465端口
2、sendmail下sendmail.ini文件设置如下:
smtp_server=smtp.126.com
; smtp port (normally 25)
smtp_port=465
SMTPS (SSL) support
; auto = use SSL for port 465, otherwise try to use TLS
ssl = alway use SSL
; tls = always use TLS
; none = never try to use SSL
重启网站服务器。
另外用qq.com、126.com等免费邮箱的smtp,都需要在邮箱设置里面单独设置授权密码和免费邮箱的登录密码区分开来。这个授权密码在sendmail.ini文件设置会用到。
auth_username=XXXXX
auth_password=XXXXX(此处填写授权密码而非邮箱登录密码)
相关文章推荐
- magento -- 客户无法使用contact us 发邮件 - Unable to submit your request. Please, try again later
- magento -- 客户无法使用contact us 发邮件 - Unable to submit your request. Please, try again later
- The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
- 集成google+1组件,提示There was a temporary problem with your +1 Please try again later
- magento -- 客户无法使用contact us 发邮件
- magento -- 客户无法使用contact us 发邮件
- 使用hadoop命令警告提示:Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
- Error: Failed to launch instance "win7": Please try again later [Error: No valid host was found. ].
- Failed to download samples index, please check your connection and try again 解决
- Failed to export using the options you specified. Please check your options and try again
- Error:Unable to make the module:***, related gradle configuration was not found. Please, re-import the Gradle project and try again.
- Failed to download samples index, please check your connection and try again
- 解决Genymotion模拟器无法使用问题“the file is currupt”,“uable to boot-please use a kernel appropriate for your c
- Error: Failed to launch instance "win7": Please try again later [Error: No valid host was found. ].
- android studio升级时提示 Connection failed. Please check your network connection and try again
- QCAR initialization error .unabel to contact server. please try again later
- Android:日常踩坑——Failed to retrieve available cloud devices! Please try again later.
- Unable to find the report in the manifest resources. Please build the project, and try again.