Cc and Bcc in mail() ...

A

Anonymous

Guest
hi


headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/plain; charset=iso-8859-1\r\n";
$headers .= "Content-Transfer-Encoding: 7bit\r\n";
$headers .= "From: <me@domain.com>\r\n";
$headers .= "To: <you@your.com>\r\n";
$headers .= "Cc: <me2@domain.com>\r\n";
$headers .= "Bcc: <me3@domain.com>\r\n";
$headers .= "Reply-To: <me@domain.com>\r\n";
$headers .= "X-Priority: 1\r\n";
$headers .= "X-MSMail-Priority: High\r\n";
$headers .= "X-Mailer: PHP4\r\n";
mail("you@your.com", $subject, $message, $headers);

i think the above code would work fine

if you still finding error, contact me

vikas@dinsol.com
rv1605@yahoo.com

or visit my official site

http://www.dinsol.com/
 
Back
Top