重複の可能性:
PHPメール、CCフィールド
私は次のphpを使用してメールを送信しています。メールにccを追加する必要があります。ヘッダーに挿入しようとすると、htmlメッセージに生のhtmlが表示されます。ccを処理するための最良の方法は何ですか?
ありがとう
$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."\"";