2018-05-27 13:53:25 SERVER -> CLIENT: 220 mail.vitafarma.local Microsoft ESMTP MAIL Service ready at Sun, 27 May 2018 16:53:24 +0300 2018-05-27 13:53:25 CLIENT -> SERVER: EHLO shop.av.zp.ua 2018-05-27 13:53:25 SERVER -> CLIENT: 250-mail.vitafarma.local Hello [46.46.90.154] 250-SIZE 37748736 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-X-ANONYMOUSTLS 250-AUTH GSSAPI NTLM 250-X-EXPS GSSAPI NTLM 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250-XEXCH50 250-XRDST 250 XSHADOWREQUEST 2018-05-27 13:53:25 CLIENT -> SERVER: STARTTLS 2018-05-27 13:53:30 SERVER -> CLIENT: 500 5.3.3 Unrecognized command 2018-05-27 13:53:30 SMTP ERROR: STARTTLS command failed: 500 5.3.3 Unrecognized command 2018-05-27 13:53:30 SMTP Error: Could not connect to SMTP host. 2018-05-27 13:53:30 CLIENT -> SERVER: QUIT 2018-05-27 13:53:30 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel 2018-05-27 13:53:30 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Ошибка при отправке. Ошибка: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting