Home › Forums › Newsletter Plugin Support › Connection: Failed to connect to server. Error number 2.
Having problem with Newsletter sending mails, I did the Mailtrap test and the following is the error report
2017-12-03 13:05:08 Connection: opening to smtp.mailtrap.io:25, timeout=300, options=array (
2017-12-03 13:05:11 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to smtp.mailtrap.io:25 (Connection refused)
2017-12-03 13:05:11 SMTP ERROR: Failed to connect to server: Connection refused (111)
2017-12-03 13:05:11 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Your provider is blocking external SMTP connection try to ask them for support or try other ports and protocols available by mailtrap.
thanks my issue has been fixed.
Terms and Conditions
Sign up for latest news, important updates and special tutorials.
© 2022 Web Agile S.a.s. di Fietta Roberto - VAT IT-03809490240