Replies: 0
Hello,
I don’t know why the plugin doesn’t work for me. The paradox is that I set it up on more than 10 sites and it wasn’t a problem.
Websites have the same web hosting, the same version of PHP, the same version of WordPress.
Please help
Thank you
Versions:
WordPress: 5.8
WordPress MS: No
PHP: 8.0.9
WP Mail SMTP: 3.0.3
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.1.0l 10 Sep 2019
Apache.mod_security: Yes
Debug:
Email Source: WP Mail SMTP
Mailer: Ostatní SMTP
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
SMTP Debug:
2021-09-06 20:16:32 Connection: opening to smtp.office365.com:587, timeout=300, options=array()
2021-09-06 20:16:41 Connection failed. Error #2: stream_socket_client(): Unable to connect to smtp.office365.com:587 (Connection refused) [/www/doc/www.mj-servis.cz/www/wp-includes/PHPMailer/SMTP.php line 388]
2021-09-06 20:16:41 SMTP ERROR: Failed to connect to server: Connection refused (111)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting