Cc and Bcc in mail() ...

the mail() function

Moderators: macek, egami, gesf

User avatar
New php-forum User
New php-forum User
Posts: 6
Joined: Sun Dec 08, 2002 11:12 pm
Location: india

Postby vikas » Wed Dec 11, 2002 12:53 am


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: <>\r\n";
$headers .= "To: <>\r\n";
$headers .= "Cc: <>\r\n";
$headers .= "Bcc: <>\r\n";
$headers .= "Reply-To: <>\r\n";
$headers .= "X-Priority: 1\r\n";
$headers .= "X-MSMail-Priority: High\r\n";
$headers .= "X-Mailer: PHP4\r\n";
mail("", $subject, $message, $headers);

i think the above code would work fine

if you still finding error, contact me

or visit my official site

Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 2 guests