skybird Posted December 14, 2011 Share Posted December 14, 2011 Hi Larry, I have a problem on sending email to my real email address upon completing my registration. The error message displayed upon clicking Next button : An error occurred in script 'C:\xampp\htdocs\virtual_product\register.php' on line 115: 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() Array ....... I've found that after my registration, 1)the registering info can be seen in the database. 2) both login and logout are working by using the registering info. Your advice, pls. xampp 1.7.3 php 5.3.1 mysql 5.1.4.1 phpMyAdmin 3.2.4 Operating system: Window7 Editor: Dreamweaver Link to comment Share on other sites More sharing options...
Jonathon Posted December 14, 2011 Share Posted December 14, 2011 Have you configured Xampp to be able to send mail yet? It isn't a default setting. Link to comment Share on other sites More sharing options...
skybird Posted December 15, 2011 Author Share Posted December 15, 2011 Thank you Jonathon for your kind guide. I searched on xampp mercury mail server threads, and found the link below fits my need: http://www.apachefriends.org/f/viewtopic.php?f=16&t=48726&p=187442&hilit=mercury+mail+server#p187442 Link to comment Share on other sites More sharing options...
Jonathon Posted December 15, 2011 Share Posted December 15, 2011 Good work! If not there are posts on here about how to do it. It's fairly simple to get a working mail server locally so I found. Link to comment Share on other sites More sharing options...
Recommended Posts