I’ve just started using PHP and I’m working on the script for a contact form. I.e. someone fills in details on my website and when they click ‘submit’ I receive an e-mail with their details and comments.
The problem:
I’m working on localhost (XXAMP) and when the mail is supposed to out I get the following message:
[COLOR=”DimGray”]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:xampphtdocs_
[B]How can I change the settings so that the e-mail is sent and I can test my form properly?