Replies: 0
I installed/activated the plugin, entered all values per the documentation provided and used office365 smtp settings. Whenever I try to send a test email, it says connection refused. I cannot figure out why – have exhausted all means and hoping someone in this forum can help. Below is the error I am receiving. Thanks.
– Joe
******************************************
Versions:
WordPress: 4.9.5
WordPress MS: No
PHP: 7.1.14
WP Mail SMTP: 1.2.5
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.office365.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(false)
SMTPAuth: bool(true)
Server:
OpenSSL: Yes
SMTP Debug:
2018-05-21 01:28:05 Connection: opening to smtp.office365.com:587, timeout=300, options=array (
)
2018-05-21 01:28:09 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to smtp.office365.com:587 (Connection refused)
2018-05-21 01:28:09 SMTP ERROR: Failed to connect to server: Connection refused (111)
2018-05-21 01:28:09 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Please copy only the content of the error debug message above, identified with an orange left border, into the support forum topic if you experience any issues.