skybird 1 Posted December 14, 2011 Report 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 Quote Link to post Share on other sites
Jonathon 255 Posted December 14, 2011 Report Share Posted December 14, 2011 Have you configured Xampp to be able to send mail yet? It isn't a default setting. Quote Link to post Share on other sites
skybird 1 Posted December 15, 2011 Author Report 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 Quote Link to post Share on other sites
Jonathon 255 Posted December 15, 2011 Report 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. Quote Link to post Share on other sites
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.
Note: Your post will require moderator approval before it will be visible.