Jump to content

Need Help for mailing using PHP


dannydefreak

Recommended Posts

Hi guys.

I am Daniel.I was trying to emailfrom a php page and i ahev got all the codes and stuff but i get the following message ;

" Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in W:\www\sendemail.php on line 2 ".

I have tried going to the php.ini  configuration file and changing the settings of smtps, i.e, SMTP, smtp_port, ...

Previously( before two days ago or so) i had the same problem and i changed some smtp settings that i don't remember right now and it worked( at least it stopped displaying the previous err message).The problem then was, although it didn't display an err msg, it didnot reach the target email address.

Can any one help me out ?

Thnx.

Link to comment
https://forums.phpfreaks.com/topic/37615-need-help-for-mailing-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.