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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to