<?php
$subject="testmail";
$message="this is test mail from php";
$to="****@****.com";//for an example
$status=mail($to,$subject,$message);
if ($status)
{
echo "Mail successfully Send";
}
?>
when i execute this script, it displays the following error., why this error?
mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing