mail headers

From: Date: Tue, 25 Jul 2006 20:57:21 +0000
Subject: mail headers
Groups: php.general 
Request: Send a blank email to php-general+get-239781@lists.php.net to get a copy of this message
Greetings Everyone, What in the piece of code below might be causing the headers for from and reply-to to be set incorrectly? ' $headers = "MIME-Version: 1.0\r\n". "Content-type: text/html; charset=iso-8859-1\r\n". "From: ".$email."\r\n". "Reply-to: ".$email."\r\n". "Date: ".date("r")."\r\n"; ' Using Thunderbird on XP it does set the from correctly but then uses the default from address set in php.ini for the reply-to. Any ideas? Thanks! -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Business.Solution.Developers

« previous php.general (#239781) next »