ID: 38717
User updated by: adrianob at gmail dot com
Reported By: adrianob at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Mail related
Operating System: Linux
PHP Version: 4.4.4
New Comment:

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...
Thanks.


Previous Comments:
------------------------------------------------------------------------

[2006-09-08 09:28:58] [email]tony2001php.net[/email]

Cannot reproduce with Postfix and PHP4/PHP5.
We need to know at least which mail server you are using.

------------------------------------------------------------------------

[2006-09-05 15:57:18] adrianob at gmail dot com

Which kind of information do you need? Just ask me.

------------------------------------------------------------------------

[2006-09-05 08:05:54] [email]tony2001php.net[/email]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
[url]http://bugs.php.net/how-to-report.php[/url]

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 01:38:37] adrianob at gmail dot com

Description:
------------
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:
---------------
<?php

mail('fromgoobar.com', 'subject', 'message', 'Bcc:
[email]emailfoobar.com[/email]');

?>

Expected result:
----------------
[email]fromgoobar.com[/email] and [email]emailfoobar.com[/email] receive the same message, but
without one know the other.

Actual result:
--------------
[email]fromgoobar.com[/email] is receiving the following message:

Subject: subject
Bcc: [email]emailfoobar.com[/email]

message


------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=38717&edit=1[/url]