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
kvhc128 Posted November 23, 2008 Posted November 23, 2008 Instead of smtp.gmail.com, try using ssl://smtp.gmail.com.
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
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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now