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.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Sponsors

Sponsors

Recommended

DHgate Computers
DHgate.com - Computers, Cell Phones & more
  • We find everbuying built in php and use css to control the style.

About Author

PHP Freelancer

PHP Freelancer I am PHP Freelancer, Rakshit Patel working as PHP Programmer India. I am here to share all my developing knowledge with you people. For Hire PHP Developer India, contact me.
Follow on twitter: @raxit4u2

Get Free Programming Tutorials:

Become a Fan

Popular Topics

Recent Posts

Most Popular

Recent Comments

Get a Free Quote
$
$
$
Security Question: 3 + 8 = ?
$