Hi, I am running PHP under Windows XP and IIS. I am trying to do a simple send email program, but I keep getting the error \"Warning: Failed to Receive...\". I am not sure how to set up SMTP in Windows, or even how to configure the php.ini. Any help would be great.
[URL]
http://65.24.68.155/fp/experimental/send_mail/send.php
$to = \"danprevite@hotmail.com\";
$subject = \"PHP MAIL TEST\";
$message = \"This is a test email.\";
if(mail($to, $subject, $message)) {
print \"<br><font color=green>Mail sent to $to successfully.</font>\";
} else {
print \"<br><font color=red>Mail failed.</font>\";
}