|
-
May 5th, 2007, 02:11 AM
#1
Thread Starter
Lively Member
[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);
Last edited by rasana; May 7th, 2007 at 07:35 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|