SMTP Error | Office365 | GoDaddy
-
We are using Office365 emails through GoDaddy, and are trying to configure our WordPress site to send emails via SMTP, when I using the SMTP credentials supplied inside Office365, I am getting the following error:
Versions: WordPress: 6.1.1 WordPress MS: No PHP: 7.4.33 WP Mail SMTP: 3.7.0 Params: Mailer: smtp Constants: No ErrorInfo: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 101 Additional SMTP info: Network is unreachable Host: smtp.office365.com Port: 587 SMTPSecure: tls SMTPAutoTLS: bool(true) SMTPAuth: bool(true) Server: OpenSSL: OpenSSL 1.1.1p 21 Jun 2022 Apache.mod_security: No Debug: Email Source: WP Mail SMTP Mailer: Other SMTP SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 101 Additional SMTP info: Network is unreachable SMTP Debug: 2023-02-08 20:42:49 Connection: opening to smtp.office365.com:587, timeout=300, options=array() 2023-02-08 20:42:53 Connection failed. Error #2: stream_socket_client(): unable to connect to smtp.office365.com:587 (Network is unreachable) [/home/wlpxahs5mw4r/public_html/wp-includes/PHPMailer/SMTP.php line 389] 2023-02-08 20:42:53 SMTP ERROR: Failed to connect to server: Network is unreachable (101) SMTP Error: Could not connect to SMTP host. Failed to connect to server
I have verified with GoDaddy that SMTP authentication settings are turned on inside the email settings. And that all SMTP settings/credentials are correct. So I am not sure why I am unable to connect.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘SMTP Error | Office365 | GoDaddy’ is closed to new replies.