When I`m trying to insert cc with the php mail function I get only message with the HTML part.
I`m using the following code
$headers = "From:[email protected]\r\n";
$headers .= "CC:[email protected]\r\n";
$headers .= "Content-type: text/html\r\n";
$to ="$x_email";
$subject ="Your Order Confirmation";
$bodyadmin=$messageadmin;
$sentmail=mail($to, $subject, $bodyadmin, $headers);
Could any one please help me to solve this issue?