LovelyAngel
Programmer
Hi all of you,
My PHP email function is not working in my machine. The sever setting in my machine is IIS5.0, Windows2K, PHP server. and my code is viewed as below:
<?php
echo "<html><body>";
$recipient = "footballyeah@hotmail.com";
$subject = "Testing the mail function";
$message = "Hello!\n\nThis is the body of the message.\n\n";
mail ($recipient, $subject, $message);
echo "Sending mail...";
echo "</body></html>";
?>
but my browser reflected this message to me:
Warning: Server Error in C:\Inetpub\ on line 10.
Please tell me what happened to my server... thank you very much
My PHP email function is not working in my machine. The sever setting in my machine is IIS5.0, Windows2K, PHP server. and my code is viewed as below:
<?php
echo "<html><body>";
$recipient = "footballyeah@hotmail.com";
$subject = "Testing the mail function";
$message = "Hello!\n\nThis is the body of the message.\n\n";
mail ($recipient, $subject, $message);
echo "Sending mail...";
echo "</body></html>";
?>
but my browser reflected this message to me:
Warning: Server Error in C:\Inetpub\ on line 10.
Please tell me what happened to my server... thank you very much