-
July 6, 2020, 06:04 PM
#1
Master
SMTP problem
2020-07-06 18:03:00 Connection: opening to ssl://smtp-relay.gmail.com:587, timeout=300, options=array()
2020-07-06 18:03:00 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:1408F10B:SSL routines:ssl3_get_record:wrong version number [/home/miztra/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 336]
2020-07-06 18:03:00 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [/home/miztra/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 336]
2020-07-06 18:03:00 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp-relay.gmail.com:587 (Unknown error) [/home/miztra/public_html/vendor/phpmailer/phpmailer/src/SMTP.php line 336]
2020-07-06 18:03:00 SMTP ERROR: Failed to connect to server: (0)
SMTP connect() failed. https://github.com/PHPMailer/PHPMail...roubleshooting
-
July 6, 2020, 08:04 PM
#2
Flynax developer
Hello,
It seems that your server doesn't allow to use ssl port
contact your hosting and ask what could be the problem
Last edited by Rudi; July 7, 2020 at 05:46 AM.
-
July 7, 2020, 05:38 AM
#3
Master
They have blocked port 25.
I have been googling and I have changed my exim to p
-
July 7, 2020, 03:40 PM
#4
Master
Got it working with Mailgun