Problem with fsockopen() (Not Firewall Related)
Posted: Tue Mar 10, 2009 7:19 am
Hello,
I just downloaded Swift Mailer 4, but I'm having difficulties sending mail with SMTP. It returns the following error:
Anyone has any ideas?
Thanks,
Frederico
I just downloaded Swift Mailer 4, but I'm having difficulties sending mail with SMTP. It returns the following error:
Its not a firewall problem as I can connect with the following code:Message: fsockopen() [function.fsockopen]: unable to connect to :25 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. )
Filename: Transport/StreamBuffer.php
Line Number: 243
Code: Select all
$fp = fsockopen ($url, 25, $errno, $errstr, 30);
if ($fp) {
echo "Congratulations: FSock seems to be working properly on your server.";
fclose ($fp);
}
Thanks,
Frederico