Jump to content

HELP anyone? SMTP problem using PHP


komhico

Recommended Posts

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?

 

Link to comment
https://forums.phpfreaks.com/topic/208969-help-anyone-smtp-problem-using-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.