与bcc无法正常工作的php邮件

I am using below code for sending mail with cc and bcc.

$headers="From: $name <{$fromAddress}>
".
            "Reply-To: info@test.com
".
            "Cc: abc@gmail.com
".
            "BCC: pqr@gmail.com
".
            "MIME-Version: 1.0
".
            "Content-type: text/html; charset=UTF-8";

@mail($toAddres,$subject,$message,$headers,$parameters);

All the things are working fine including reply-to, cc but the bcc is not working.

In the mailbox headers, it is not showing me the bcc mail address. What do I need to fix it?

You could try with ICC (Invisible Carbon Copy) wish is the second name of BCC.

By the way, BCC is Blind Carbon Copy. So if you don't see them in your mail it's normal.

without having a close look to your code I think the problem is that they do not recieve your e-mail which is set as BCC

the reason might be you used BCC instead of Bcc

Corrected $header

$headers="From: $name <{$fromAddress}>
".
        "Reply-To: info@test.com
".
        "Cc: abc@gmail.com
".
        "Bcc: pqr@gmail.com
".
        "MIME-Version: 1.0
".
        "Content-type: text/html; charset=UTF-8";

I have changed the BCC: to Bcc: