RE: [PHP] email forms

From: Date: Tue, 19 Jun 2001 08:34:52 +0000
Subject: RE: [PHP] email forms
Groups: php.general 
Request: Send a blank email to php-general+get-54342@lists.php.net to get a copy of this message
> $fromaddress = "events@atikokaninfo.com"; > mail($toaddress, $subject, $mailcontent, $fromaddress); Should probably be: $fromaddress = "From: events@atikokaninfo.com"; mail($toaddress, $subject, $mailcontent, $fromaddress); Splitting hairs a bit, a more accurate name for $fromadress would be $headers - in the future, you may want to add bounce headers or whatever, as well as a "from" address. HTH Jon ********************************************************************** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' **********************************************************************

« previous php.general (#54342) next »