LovelyAngel
Programmer
Hi all programmers,
I've check my SMTP virtual server which is running correctly, but why my PHP email function is still not working??
code:
<?php
echo "<html><body>";
$recipient = "benny1011@hotmail.com";
$subject = "Testing the mail function";
$message = "Hello!\n\nThis is the body of the message.\n\n";
//$extra = "From: footballyeah@hotmail.com\r\nReply-To: footballyeah@hotmail.com\r\n";
mail ($recipient, $subject, $message);
echo "Sending mail...";
echo "</body></html>";
?>
Please help me!!!
Thank you
I've check my SMTP virtual server which is running correctly, but why my PHP email function is still not working??
code:
<?php
echo "<html><body>";
$recipient = "benny1011@hotmail.com";
$subject = "Testing the mail function";
$message = "Hello!\n\nThis is the body of the message.\n\n";
//$extra = "From: footballyeah@hotmail.com\r\nReply-To: footballyeah@hotmail.com\r\n";
mail ($recipient, $subject, $message);
echo "Sending mail...";
echo "</body></html>";
?>
Please help me!!!
Thank you