jijodasgupta Posted February 22, 2009 Share Posted February 22, 2009 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 = me@example.com also googled it n found no reasonable solutions.....so last option!!!! anyone fixed such problem???? Quote Link to comment Share on other sites More sharing options...
only one Posted February 22, 2009 Share Posted February 22, 2009 I think that could be because your port 25 is not forwarded. But I could be wrong. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.