Replies: 0
I connected the plugin to my Outlook account (Office 365) and I used all the correct details. However, when I click on “send email” in the test section, it takes really long to load and it will finally show an error.
The error tells me the following:
Versions:
WordPress: 5.4.2.
WordPress MS: No
PHP: 7.3.19
WP Mail SMTP: 2.2.1
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 11 Feb 2013
Debug:
Mailer: Other SMTP
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
SMTP Debug:
2020-08-05 07:41:20 Connection: opening to smtp.office365.com:587, timeout=300, options=array ()
2020-08-05 07:45:32 Connection failed: Error #2: stream_socket_client():unable to connect to smtp.office365.com:587 (Network is unreachable) [/home/amberwood/domains/cornhouse.nl/public.html/wp-includes/class-smtp.php line 298]
2020-08-05 07:45:32 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting