note 36108 rejected from function.mail by pollita

From: Date: Thu, 25 Sep 2003 23:10:41 +0000
Subject: note 36108 rejected from function.mail by pollita
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57143@lists.php.net to get a copy of this message
Note Submitter: Cory Howell ---- When I use the following code, I am getting 2 emails generated to me; 1 from the customer & another from an unknown sender. <?php mail("myaddress@here.com", "Contact Form - Lead Received", $message, "From: ".$HTTP_POST_VARS['Name']." <".$HTTP_POST_VARS['Email'].">\r\n"); ?> Before I added the variables to the From: field, I was still receiving 2 messages, regardless of the sender... Any suggestions?

« previous php.notes (#57143) next »