email function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hemi
Forum Newbie
Posts: 1
Joined: Sun Aug 09, 2009 10:37 am

email function

Post by hemi »

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:\wamp\www\project\post3.php on line 40

Message delivery failed...



iam getting this error please help me out
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: email function

Post by jackpf »

Do you have an smtp server installed?
Post Reply