marianodevbus
Forum Replies Created
-
Hi @sanzeeb3,
I have followed the configuration help instructions for SMTP settings for popular providers and it still doesn’t work.
Click here to view the complete error log for debugging
Versions:
WordPress: 5.2.2
WordPress MS: No
PHP: 7.2.19
WP Mail SMTP: 1.5.2Params:
Mailer: smtp
Constants: Yes
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: outlook.office365.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)Server:
OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
SMTP Debug:
2019-07-26 09:49:43 Connection: opening to outlook.office365.com:587, timeout=300, options=array (
)
2019-07-26 09:49:46 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to outlook.office365.com:587 (Network is unreachable)
2019-07-26 09:49:46 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
2019-07-26 09:49:46 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting.Thank you very much.
MarianoHi, @sanzeeb3 ,
Thank you for your answer. These are the details of the error.
“Could not connect to the SMTP host.
This means that your web server could not have a connection with outlook.office365.com.
Typically, this error is returned for one of the following reasons:
-The SMTP settings are incorrect (incorrect port, security settings, incorrect host).
-Your web server is blocking the connection.
-Your SMTP host is rejecting the connection.”But if I send direct email, from an email account, I receive the emails but from the contact form I don’t receive them.
Thanks.
Mariano