|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38717 BCC header isn't stripped out
Submitted: 2006-09-05 01:38 UTC Modified: 2006-09-11 22:02 UTC
From: adrianob at gmail dot com Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.4.4 OS: Linux
Private report: No CVE-ID: None
 [2006-09-05 01:38 UTC] adrianob at gmail dot com
I'm trying to send an email with Bcc recipients, they get a copy, but the Bcc header isn't stripped out.

I already tested using different character cases, like Bcc, BCC, bcc. And already tested using \n and \r\n as headers glue.

Reproduce code:

  mail('', 'subject', 'message', 'Bcc:');


Expected result:
---------------- and receive the same message, but without one know the other.

Actual result:
-------------- is receiving the following message:

Subject: subject



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-05 08:05 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2006-09-05 15:57 UTC] adrianob at gmail dot com
Which kind of information do you need? Just ask me.
 [2006-09-08 09:28 UTC]
Cannot reproduce with Postfix and PHP4/PHP5.
We need to know at least which mail server you are using.
 [2006-09-11 21:18 UTC] adrianob at gmail dot com
I was checking which MTA is being used, and I guess that is "sSMTP sendmail emulation". Searching more, it seems that the Bcc stripping isn't implemented by it...
 [2006-09-11 22:02 UTC]
Nothing PHP can change -> bogus
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Jan 30 04:03:57 2023 UTC