Page 1 of 1

HELP anyone? SMTP problem using PHP

Posted: Mon Jul 26, 2010 8:15 pm
by komhico
hi there...Can anyone please help me on SMTP using php.

Whenever I test this function for my system, I always end up seeing an error.

Why is that my system always display an error where it says:

Warning: fsockopen() [function.fsockopen]: unable to connect to mail.katropa.com: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. ) in C:\xampp\htdocs\mail\testmail.php on line 35

Warning: fgets(): supplied argument is not a valid stream resource in C:\xampp\htdocs\mail\testmail.php on line 36


...got any idea what's wrong?

Can anyone please explain to me what's the matter whenever this happen?
:banghead:

Re: HELP anyone? SMTP problem using PHP

Posted: Tue Jul 27, 2010 5:06 am
by Gargoyle
well, the error message is quite clear, isn't it?

could be a firewall issue.