Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

SMTP -> ERROR: Failed to connect to server: Connection timed out (110)

php-issues-bugs-solutions

Hello Friends,

I was working with SMTP (Simple Mail Transfer Protocol) for sending email across IP (Internet Protocol) networks. I have downloaded smtp mailer class, it works fine in my local system. When i moved all files on server and when i try to send email, it shows below error message.

SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
SMTP Error: Could not connect to SMTP host.

As from error message itself you will come to know that there is a problem with SMTP connection. It is trying to connect but not getting success and connection time-out.

Connection time-out means the mail server cannot be reached anymore. If the mail server is different from your web server (i.e. not localhost) I had check with your hosting provider whether they enabled some sort of firewall that blocks connections on the SMTP port.

Let me know if you find any problem.

Thank You!

Share:

1 Comment

Leave a Reply

Your email address will not be published.