HELP anyone? SMTP problem using PHP
Posted: Mon Jul 26, 2010 8:15 pm
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?

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?