I said before I do not have access to the php.ini
I am on a virtual Hosting ...
-----Original Message-----
From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 4:43 PM
To: Mahmoud Kassem; ReDucTor
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Mail()
your MTA is setting the envelope, not your script.
if you are using sendmail, look at the -f flag in the man
sendmail page. then modify your php.ini file. Or possibly
even set the variable (sendmail_path) inside of your script
to include the -f flag.
-----Original Message-----
From: Mahmoud Kassem [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 1:34 AM
To: ReDucTor
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Mail()
I have the arrows
my code is :
$headers .= "Return-Path: <[EMAIL PROTECTED]>\n";
$headers .= "Errors-To: <[EMAIL PROTECTED]>\n";
$headers .= "X-Sender: Abkareno <[EMAIL PROTECTED]>\n";
$headers .= "From: \"".$fname." ".$lname."\" <".$emailfrom.">\n";
$headers .= "Reply-To: ".$fname." ".$lname." <".$emailfrom.">\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
$headers .= "X-Mailer: Abkareno\n";
$headers .= "X-Authenticated-IP: [".$REMOTE_ADDR."]\n";
if ($prom == 1) {
$headers .= "X-Priority: 2\n";
$headers .= "Importance: High\n\n";
mail("$emailto_owner"."<".$emailto.">","$subject","$message","$headers");
and still I get the email from NO BODY <[EMAIL PROTECTED]>
-----Original Message-----
From: ReDucTor [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 9:25 AM
To: Mahmoud Kassem; [EMAIL PROTECTED]
Subject: Re: [PHP] Mail()
>From : Your Name <[EMAIL PROTECTED]>
make sure you have the arrow things around it...
thats in your headers...
----- Original Message -----
From: "Mahmoud Kassem" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 13, 2001 4:20 PM
Subject: [PHP] Mail()
> How can force my From: instead of the nobody@servername ?
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]