RE: [PHP] Email Form

From: Date: Thu, 19 Jan 2006 21:36:35 +0000
Subject: RE: [PHP] Email Form
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-228865@lists.php.net to get a copy of this message
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

« previous php.general (#228865) next »