RE: [PHP] Mail()

From: Date: Mon, 13 Aug 2001 06:34:18 +0000
Subject: RE: [PHP] Mail()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62372@lists.php.net to get a copy of this message
I have the arrows my code is : $headers .= "Return-Path: <errors@abkareno.com>\n"; $headers .= "Errors-To: <errors@abkareno.com>\n"; $headers .= "X-Sender: Abkareno <webmaster@abkareno.com>\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 <nobody@servername.com> -----Original Message----- From: ReDucTor [mailto:sjdtmv@tpg.com.au] Sent: Monday, August 13, 2001 9:25 AM To: Mahmoud Kassem; php-general@lists.php.net Subject: Re: [PHP] Mail() >From : Your Name <user@domain.com> make sure you have the arrow things around it... thats in your headers... ----- Original Message ----- From: "Mahmoud Kassem" <mahmoud@abkareno.com> To: <php-general@lists.php.net> Sent: Monday, August 13, 2001 4:20 PM Subject: [PHP] Mail() > How can force my From: instead of the nobody@servername ? >

« previous php.general (#62372) next »