Не работает SMTP
Posted: Sat May 22, 2021 11:47 am
В общем никак не могу настроить почтовый сервис так, чтобы он посылал письма с подтверждением регистрации, с контактной формы и т.д. Пока юзаю сторонний сервис Sendinblue, но хотелось бы использовать собственную почтовую службу Весты.
Результат выдачи плагина WP Mail Smtp
Результат выдачи плагина Easy Wp Smtp
Не пойму в чём дело, вроде данные SMTP сервера и созданного почтового ящика вводил верно, но всё равно выдаёт ошибку.
Результат выдачи плагина WP Mail Smtp
Code: Select all
Versions:
WordPress: 5.7.2
WordPress MS: No
PHP: 8.0.6
WP Mail SMTP: 2.8.0
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host.
Host: mydomain.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
Apache.mod_security: No
Debug:
Mailer: Прочие SMTP
SMTP Error: Could not connect to SMTP host.
SMTP Debug:
2021-05-21 06:53:49 Connection: opening to mydomain.com:587, timeout=300, options=array()
2021-05-21 06:53:49 Connection: opened
2021-05-21 06:53:49 SERVER -> CLIENT: 220 mydomain.com ESMTP Exim 4.94.2 Fri, 21 May 2021 08:53:49 +0200
2021-05-21 06:53:49 CLIENT -> SERVER: EHLO mydomain.com
2021-05-21 06:53:49 SERVER -> CLIENT: 250-mydomain.com Hello mydomain.com [ip.xxx.xx.xxx]250-SIZE 52428800250-8BITMIME250-PIPELINING250-PIPE_CONNECT250-AUTH PLAIN LOGIN250-CHUNKING250-STARTTLS250 HELP
2021-05-21 06:53:49 CLIENT -> SERVER: STARTTLS
2021-05-21 06:53:49 SERVER -> CLIENT: 220 TLS go ahead
2021-05-21 06:53:49 Connection failed. Error #2: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed [/home/user1/web/mydomain.com/public_html/wp-includes/PHPMailer/SMTP.php line 467]
SMTP Error: Could not connect to SMTP host.
2021-05-21 06:53:49 CLIENT -> SERVER: QUIT
2021-05-21 06:53:49
2021-05-21 06:53:49
2021-05-21 06:53:49 Connection: closed
SMTP Error: Could not connect to SMTP host.
Code: Select all
Following error occurred when attempting to send test email:
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting