I want to send mail with CC. The email is sent successfully, but CC is not sent.
$to = 'abc@xyz.com';
$subject = 'Order Details of Order Number:'.$orderID;
$headers = "From: webmaster@xyz.com\r\nReply-To: webmaster@xyz.com";
$headers .= "\r\nContent-Type: multipart/alternative; boundary=\"PHP-alt-".$random_hash."\"";
$message = "Test Message";
$headers .= 'Cc: def@xyz.com' . "\r\n";
mail($to, $subject, $message, $headers);
I am sending this mail as HTML.