niche Posted August 17, 2013 Share Posted August 17, 2013 I just started getting this error message from my localhost smtp mail server: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 E:wampwwwtest_130817_php_email_tester.php on line 7I just spent the last hour trouble shooting it. I finally tried changing SMTP:localhost to SMTP:smtp-server.my.internet.provider.com in my php.ini and voila!I don't remember ever having to do this before now. Has anyone else had this issue? If so, what else can you add? Link to comment Share on other sites More sharing options...
harpalsinh999 Posted September 21, 2013 Share Posted September 21, 2013 (edited) http://msdn.microsoft.com/en-us/library/8b83ac7t.aspx Install / Properly configure an SMTP server on localhost port 25 Change the configuration to point to some other SMTP server that you can connect to Edited September 21, 2013 by harpalsinh999 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now