SMTP connect () failed. outlook365

0

I looked for other similar topics and none resolved.

Let's just say that every single email on the site has stopped working, and is now giving trouble connecting to the server.

Look at the settings and the error log:

    Versions:
WordPress: 4.9.6
WordPress MS: No
PHP: 5.6.32
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(true)
SMTPAuth: bool(true)

Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:
2018-06-21 13:37:19 Connection: opening to smtp.office365.com:587, timeout=300, options=array (
)
2018-06-21 13:37:19 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known
2018-06-21 13:37:19 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to smtp.office365.com:587 (php_network_getaddresses: getaddrinfo failed: Name or service not known)
2018-06-21 13:37:19 SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)
2018-06-21 13:37:19 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 experienc

I've tried other ports, such as 25 and yet it still gives error.

    
asked by anonymous 21.06.2018 / 15:40

0 answers