Mail Headers

From: Date: Mon, 08 Mar 2004 12:17:29 +0000
Subject: Mail Headers
Groups: php.general 
Request: Send a blank email to php-general+get-179734@lists.php.net to get a copy of this message
Hi Guys I am building a newsletter system, and i have never really learnt the correct way/format or exact content that should go into mail headers. Currently i use the following $MailHeaders .= "MIME-version: 1.0\r\n"; $MailHeaders .= "Content-Type: text/".$_Vars['Type']."; charset=us-ascii\r\n"; $MailHeaders .= "Content-Transfer-Encoding: 7bit\r\n"; $MailHeaders .= "From: ".$_Vars['From']."\r\n"; $MailHeaders .= "Reply-To: ".$_Vars['From']."\r\n"; $MailHeaders .= "Return-path: ".$_Vars['From']."\r\n"; $MailHeaders .= "Errors-To: ".$_Vars['From']."\r\n\r\n"; Is this the correct type of headers i should use? Thanks Jarratt

« previous php.general (#179734) next »