How to fix the error while sending data to mail using PHPMailer?

2019-05-03 20:48:56 Connection: opening to ssl://smtp.mail.EN:465, timeout=300, options=array ( ) 2019-05-03 20:48:56 SMTP ERROR: Failed to connect to server: (0) 2019-05-03 20:48:56 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Error


When submitting the form returns this message.
March 20th 20 at 11:42
2 answers
March 20th 20 at 11:44
Somewhere on ofsayte was the recommendation to disable antivirus...
where? on the server?))) - chris_Balistreri32 commented on March 20th 20 at 11:47
@devon, on the PHPMailer website - curt75 commented on March 20th 20 at 11:50
@noah90, I'm talking about DISABLE - chris_Balistreri32 commented on March 20th 20 at 11:53
@devon, I understand. Of course, AntiVir is disabled on the development machine during development. I, for example, XAMPP refused to send mail when Avast is enabled, the solution was found here - curt75 commented on March 20th 20 at 11:56
March 20th 20 at 11:46
Here it is forget it as a nightmare
smtp.mail.ru

...........
Rock smtp.yandex.ru

Find more questions by tags PHP