Possible Duplicate:
PHP Mail, CC Field
I am using the following php to send an email. I need to add cc to my email. When I try to insert into header the html message show the raw html. What is the best way to handle a cc?
Thanks
$headers = "From: $from_email\r\nReply-To: $from_email";
$headers .= "Return-Path: <info@premierinspectiontn.com>";
//add boundary string and mime type specification
$headers .= "\r\nContent-Type: multipart/mixed; boundary=\"PHP-mixed-".$random_hash."\"";
--PHP-alt-0603545d439904956b8f20136436ede1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hello World!!! This is simple text email message. --PHP-alt-0603545d439904956b8f20136436ede1 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit
Hello World!
This is something with HTML formatting.
--PHP-alt-0603545d439904956b8f20136436ede1-- – rstewart Jan 28 '12 at 15:19