使用的是 WP-mail-SMTP 这个插件。
各项参数填写都是正确的,报错如下:
2017-05-24 05:18:42 Connection: opening to ssl://smtp.mxhichina.com:465, timeout=300, options=array (
)
2017-05-24 05:18:42 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
2017-05-24 05:18:42 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): Failed to enable crypto
2017-05-24 05:18:42 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://smtp.mxhichina.com:465 (Unknown error)
2017-05-24 05:18:42 SMTP ERROR: Failed to connect to server: (0)
2017-05-24 05:18:42 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
1
LittleWhiteMouse 2017-05-24 13:31:02 +08:00
境外空间?
|
2
wwc OP @LittleWhiteMouse 阿里云 ECS
|
3
my101du 2017-05-24 13:39:41 +08:00
先不要使用 SSL 协议的发信端口试试( 25 ?)
|
4
idblife 2017-05-24 13:40:29 +08:00
阿里云封 smtp 端口
比较恶心 |
5
LittleWhiteMouse 2017-05-24 13:57:12 +08:00
@wwc #2 那我就不清楚了
|
6
nlzy 2017-05-24 14:03:45 +08:00 via Android
看上去是发件服务器的 SSL 证书认证失败,然后 LZ 的服务器主动断开了链接
|
7
lixiaoxin 2018-02-08 16:12:09 +08:00
现在 443 端口貌似可以用
|