|
Hi All,
First post, hope you are all well. I have just installed XAMPP on my PC (the package containing apache, mysql, php and phpmyadmin). Its all set up and working apart from one thing. I am getting the following message on a login system i have written which works on my uni server:
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\apachefriends\xampp\htdocs\mysite\yacarte\re gister.php on line 163
The block it referring to is shown below:
/*Send this automated email message to the address specified by the user and include the subject and message as declared above*/
mail($email, $subject, $message,
"From: Yacarte Rental Association\n
X-Mailer: PHP/" . phpversion());
Line 163 is the X-Mailer line. Not really sure how to verify my SMTP so any help would be great.
Thanks,
Mike
|