Re: mail() extra headers not working

From: Date: Thu, 01 Nov 2001 22:53:00 +0000
Subject: Re: mail() extra headers not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73193@lists.php.net to get a copy of this message
> I am trying to ad extra headers to email's I am sending through php. I > want to ad Reply-To: and Bounse-To: addresses. But when add them useing > the forth feild of the mail() funtion. > mail($recipient,$msubject,$message,"Reply-To: $sender"); > but for some reason when I send this e-mail it puts a newline befor this > header so it becomes part of the message not the headers. Any ideas on > what to do?? Byron, I had the same problem. Gave up! I recommend that you check out Richard Heyes' MIME and SMTP classes available from http://www.phpguru.org/. Regards, =dn

« previous php.general (#73193) next »