[RESOLVED]sendmail_from error
Hi All,
I have written mail() function in php, but it gives following error
Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in d:\websagar_projects\php\www\websagar_net\order_form1.php on line 45
I checked apache server n restarted also..but it's not working..
what does this error means?
is this error related to mailserver?
following is coding of mail()
PHP Code:
$sendto = "[email protected]";
$frmEml = "veena";
$headers = "From: $frmEml \r\n";
$subject = "$plnName Enquiry Form";
mail($sendto, $subject, $frmdata, $headers);