good day! i can't send an email in php. i have this code:
when i run this the output is
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:\wamp\www\mail.php on line 4
i am using wampserver. i access this by typing my WAN ip (put online mode). what was that error? is there some configurations that i need to do first?