Re: Mail();

From: Date: Mon, 02 Jun 2003 12:22:23 +0000
Subject: Re: Mail();
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354175@lists.php.net to get a copy of this message
On Mon, 2 Jun 2003, Zbynek Vyboh wrote: > Bug in: http://cz.php.net/manual/en/function.mail.php > > Example 2. Sending mail with extra headers. > > mail("nobody@example.com", "the subject", $message, > "From: webmaster@$SERVER_NAME\r\n" > ."Reply-To: webmaster@$SERVER_NAME\r\n" > ."X-Mailer: PHP/" . phpversion()); > > ----------- > That's not correct mail header (see RFC822, STD3). Please quote the section which describes this, I can not find it in the RFC. Derick -- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

« previous php.doc (#969354175) next »