Hi,
I use PHP in Windows 2000 with IIS 5, I want to send email to others with SMTP. I have a SMTP email account
First I set "SMTP" part and "sendmail_from" part in php.ini.then I try a small program.that is here
<?php
$contactemail = "msjha@myrealbox.com";
$message = "test";
$subject = "test";
mail($contactemail, $subject, $message);
echo "it is ok";
?>
but I get a error response ,the error message is "Warning: Server Error ",Please let me know why this happen and how to solve the problem.Thanks a lot.
Happy Holidays!