Federico Posted November 23, 2008 Posted November 23, 2008 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 Quote
kvhc128 Posted November 23, 2008 Posted November 23, 2008 Instead of smtp.gmail.com, try using ssl://smtp.gmail.com. Quote
Federico Posted November 23, 2008 Author Posted November 23, 2008 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 Quote
Federico Posted November 25, 2008 Author Posted November 25, 2008 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.