Answer the question
In order to leave comments, you need to log in
With OpenServer, mail is sent, and on the hosting, when sending mail, an error is generated Mailer Error: SMTP connect() failed. How to fix?
Hello. With OpenServer, mail is sent, and on the hosting, when sending mail, an error is generated Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubl... How can I fix this error? I am using the PhpMailer class to send mail.
Answer the question
In order to leave comments, you need to log in
If, at the same time, the same remote smtp server is used, then the connection to external smtp can be simply prohibited on the hosting. This can be checked with technical support.
And if they are different, then you should check the connection settings, ports, encryption, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question