RE: [PHP] Email Form
| From: | Weber Sites LTD | Date: | Fri, 20 Jan 2006 15:02:34 +0000 |
| Subject: | RE: [PHP] Email Form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228948@lists.php.net to get a copy of this message | ||
Hi Richard,
I'm trying to understand why this is good from a SPAM point of view.
I'm guessing that anyone can just add this when sending his own spam no?
berber
-----Original Message-----
From: Richard Lynch [mailto:ceo@l-i-e.com]
Sent: Thursday, January 19, 2006 11:37 PM
To: Weber Sites LTD
Cc: 'Thomas Bonham'; php-general@lists.php.net
Subject: RE: [PHP] Email Form
On Thu, January 19, 2006 3:25 pm, Weber Sites LTD wrote:
> Check out :
>
> http://www.weberdev.com/get_example-336.html
>
> http://www.weberdev.com/get_example-1557.html
>
> In general you need to add the From header :
>
> Mail($To,$subject,$body,"From:user@domain.com");
In the ideal world, you also will want to upgrade and use the FIFTH
(optional) argument to http://php.net/mail and provide a
Return-path:
header that matches your From: line with "-fuser@example.com"
Otherwise, you lose points in spam filters, and some recipients will
probably not ever see the email.
--
Like Music?
http://l-i-e.com/artists.htm