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