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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...