如何解決 phpmailer 中的這個錯誤?這幾個月前我測試時從未發生過。2019-06-18 15:26:33 Connection: opening to ssl://localhost:465, timeout=300, options=array ( ) 2019-06-18 15:26:33 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): Peer certificate CN=`server18.hostingraja.org' did not match expected CN=`localhost' 2019-06-18 15:26:33 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): Failed to enable crypto 2019-06-18 15:26:33 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://localhost:465 (Unknown error) 2019-06-18 15:26:33 SMTP ERROR: Failed to connect to server: (0) 2019-06-18 15:26:33 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting`
- 1 回答
- 0 關注
- 674 瀏覽
添加回答
舉報
0/150
提交
取消