note 36108 added to function.mail
| From: | Cory at rn2 dot php dot net | Date: | Thu, 25 Sep 2003 22:14:53 +0000 |
| Subject: | note 36108 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-57140@lists.php.net to get a copy of this message | ||
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?
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36108
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36108&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36108&report=yes