Jump to content

php mail failure


jijodasgupta

Recommended Posts

this has been bugging me for quite some time now....

im usong a normal php form to send mail to my gmail account...

keeps on showin the error...

Warning: mail() [function.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 C:\xampp\htdocs\sendeail.php on line 59

/quote]

...my php.ini

file looks like

 

[mail function]

; For Win32 only.

SMTP = localhost

smtp_port = 25

 

; For Win32 only.

;sendmail_from = [email protected]

 

also googled it n found no reasonable solutions.....so last option!!!!

anyone fixed such problem????

 

 

Link to comment
https://forums.phpfreaks.com/topic/146392-php-mail-failure/
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.