note 29441 added to function.mail
| From: | andrew at rack1 dot php dot net | Date: | Thu, 13 Feb 2003 18:25:10 +0000 |
| Subject: | note 29441 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43890@lists.php.net to get a copy of this message | ||
Every e-mail server has different spam settings and scanners. I was making a site and I was getting
form e-mails fine, but then my graphics designer was having difficulties getting an e-mail from the
same form (different domain). We found the following fixed this problem:
From: "$Name" <$email>
Reply-to: <$email>
Return-path: <$email>
This should probably be used in conjunction with mindplay(at)mindplay(dot)dk's post using the
"X-Priority" and "X-MSMail-Priority" fields to try to de-spam your e-mails.
Hope that saves someone time...
--
http://www.php.net/manual/en/function.mail.php
http://master.php.net/manage/user-notes.php?action=edit+29441
http://master.php.net/manage/user-notes.php?action=delete+29441
http://master.php.net/manage/user-notes.php?action=reject+29441