Re: Email Form

From: Date: Fri, 20 Jan 2006 15:23:21 +0000
Subject: Re: Email Form
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-228953@lists.php.net to get a copy of this message
i have en experience of getting blocked by yahoo when i didn't use the extra headers On 1/20/06, Weber Sites LTD <berber@weber-sites.com> wrote: > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#228953) next »