Re: configuring headers in mail() ...

From: Date: Fri, 02 Feb 2001 15:21:08 +0000
Subject: Re: configuring headers in mail() ...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37848@lists.php.net to get a copy of this message
On Friday 02 February 2001 08:20, Maxim Maletsky wrote: > FROM: "J-Door Newsletter" < newsletter@j-door.com <mailto:newsletter@j-door.com> > (1) Better write "From:" , not "FROM:". It shouldn't matter, but some clients may assume the Firstletteriscap form (2) An email address may take one of the following forms: "Real name" <address@host.qx> address@host.qx (Real Name) address@host.qx Nesting, as you do it, is not allowed. > $from = '"' . $POSTED['from_name'] . '" <' . > $POSTED['from_email'] . >'>'; Your problem here is that $POSTED['from_email'] is "newsletter@j-door.com <mailto:newsletter@j-door.com>" instead of "newsletter@j-door.com" Also note that "mailto:" is a HTML-ism and has no place in mail headers! -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Google results 1-10 of about 142,000,000 for e. Search took 0.18 seconds. - http://www.google.com/search?q=e

« previous php.general (#37848) next »