RE: Email Form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
Sent: Thursday, January 19, 2006 11:37 PM
To: Weber Sites LTD
Cc: 'Thomas Bonham'; php-general@xxxxxxxxxxxxx
Subject: RE:  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@xxxxxxxxxx");

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@xxxxxxxxxxx"

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux