www.tutorialspoint.com Forum Index
Register FAQMemberlistUsergroupsTutorials PointLog in
Reply to topic Page 1 of 1
PHP simple email function
Author Message
Reply with quote
Post PHP simple email function 
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:\Program Files (x86)\wamp\www\progs\mail.php on line 11
Message could not be sent... Question
This warning occurred while executing the simple mail function example in php tutorial....
Plz giv me a solution........

View user's profile Send private message
Reply with quote
Post  
Possibly you are not running a SMTP server on your machine. Check with yoru administrator or try to find out how to setup SMTP server on your windows or unix machine. Once you have this setup properly then PHP program would also work.

Thanks


_________________
Moderator, TP
Keep visiting and share this site with your friends.
View user's profile Send private message Send e-mail
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum