Hi Jess
Here’s the debug log from my attempt to send out a test email:
Hope you can shed some light on what to do next.
Much appreciated!
——
Versions:
WordPress: 5.1.1
WordPress MS: No
PHP: 7.0.33
WP Mail SMTP: 1.4.2
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(true)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.0.1e-fips 11 Feb 2013
SMTP Debug:
2019-05-14 12:46:02 Connection: opening to smtp.office365.com:587, timeout=300, options=array (
)
2019-05-14 12:46:06 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to smtp.office365.com:587 (Connection refused)
2019-05-14 12:46:06 SMTP ERROR: Failed to connect to server: Connection refused (111)
2019-05-14 12:46:06 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting