#38717 [NEW]: BCC header isn't stripped out

From: Date: Tue, 05 Sep 2006 01:38:37 +0000
Subject: #38717 [NEW]: BCC header isn't stripped out
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101740@lists.php.net to get a copy of this message
From: adrianob at gmail dot com Operating system: Linux PHP version: 4.4.4 PHP Bug Type: Mail related Bug description: BCC header isn't stripped out 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('from@goobar.com', 'subject', 'message', 'Bcc: email@foobar.com'); ?> Expected result: ---------------- from@goobar.com and email@foobar.com receive the same message, but without one know the other. Actual result: -------------- from@goobar.com is receiving the following message: Subject: subject Bcc: email@foobar.com message -- Edit bug report at http://bugs.php.net/?id=38717&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38717&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38717&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38717&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38717&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38717&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38717&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38717&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38717&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38717&r=support Expected behavior: http://bugs.php.net/fix.php?id=38717&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38717&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38717&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38717&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38717&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38717&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38717&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38717&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38717&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38717&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38717&r=mysqlcfg

« previous php.bugs (#101740) next »