Replies: 0
Hi,
I installed and configured this plugin. When I try to send test email, I get following error:
Versions:
WordPress: 4.9.4
WordPress MS: Yes
PHP: 5.6.33
WP Mail SMTP: 1.2.5
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.websupport.sk
Port: 25
SMTPSecure: ssl
SMTPAutoTLS: bool(false)
SMTPAuth: bool(true)
Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:
2018-03-18 06:51:38 Connection: opening to ssl://smtp.websupport.sk:25, timeout=300, options=array (
)
2018-03-18 06:51:38 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
2018-03-18 06:51:38 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): Failed to enable crypto
2018-03-18 06:51:38 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to ssl://smtp.websupport.sk:25 (Unknown error)
2018-03-18 06:51:38 SMTP ERROR: Failed to connect to server: (0)
2018-03-18 06:51:38 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
It looks like it is trying to connect to port 25. However, in my settings there is port 465, which is needed by the SMTP provider. I do not understand, why the plugin is trying to connect to different port that the one saved in settings.
I tried with different Auto TLS settings, does not work either way.