13 Answers
telnet 阿里云的SMTP地址 返回信息如下:
telnet smtp.mxhichina.com 465
Trying 42.120.XX.XX...
Connected to smtp.mxhichina.com.
Escape character is \'^]\'.
Connection closed by foreign host.
telnet 自己的ip 地址 465 端口
telnet: Unable to connect to remote host: Connection timed out
---------
是啥原因呀
telnet smtp.mxhichina.com 465
Trying 42.120.XX.XX...
Connected to smtp.mxhichina.com.
Escape character is \'^]\'.
Connection closed by foreign host.
telnet 自己的ip 地址 465 端口
telnet: Unable to connect to remote host: Connection timed out
---------
是啥原因呀
尝试将/user/local/openssl/cacert.pem 重名为:/user/local/openssl/cert.pem 注销掉/usr/local/php/etc/php.ini opensslxx= 指定证书参数,重启php看看是否正常?
重命名 cacert.pem 为cert.pem 看了下 ;openssl= 这个是空白的, 也注销了,但是还是不能发送邮件,,
以前用 PHP 7.1 的时候 可以正常发送邮件,,
不知道 怎么办了,
以前用 PHP 7.1 的时候 可以正常发送邮件,,
不知道 怎么办了,
openssl.cafile 默认应该就是/usr/local/openssl/cert.pem
php -r "print_r(openssl_get_cert_locations());" Array ( [default_cert_file] => /usr/local/openssl/cert.pem [default_cert_file_env] => SSL_CERT_FILE [default_cert_dir] => /usr/local/openssl/certs [default_cert_dir_env] => SSL_CERT_DIR [default_private_dir] => /usr/local/openssl/private [default_default_cert_area] => /usr/local/openssl [ini_cafile] => [ini_capath] => )
Please login or Register to submit your answer