Jump to content

Recommended Posts

Posted

I'm trying to connect to an SMTP relay with fsockopen and I always get the same error, Warning: fsockopen() [function.fsockopen]: unable to connect to smtp.gmail.com:25 (Connection timed out), despite the SMTP server specified. Has Heliohost closed port 25 ?

 

Thank you :unsure:

Posted
Instead of smtp.gmail.com, try using ssl://smtp.gmail.com.

 

As I said before, no matter what SMTP server I use, I keep getting the same error:

Yahoo!: smtp.mail.yahoo.com.ar

Telered: enviar.telered.com.ar

 

Posted
Did you add ssl: before it?

 

I cannot connect to ANY smtp server. Do you have the same problem?

 

Warning: fsockopen() [function.fsockopen]: unable to connect to smtp.mail.yahoo.com.ar:25 (Connection timed out) in /home/fpetit/public_html/class.smtp.php on line 122

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...