#23113 [NEW]: 5th parameter & Bcc
| From: | michel dot limbour at wanadoo dot fr | Date: | Tue, 08 Apr 2003 14:24:10 +0000 |
| Subject: | #23113 [NEW]: 5th parameter & Bcc | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37353@lists.php.net to get a copy of this message | ||
From: michel dot limbour at wanadoo dot fr
Operating system: Linux 2.4.17
PHP version: 4.3.0
PHP Bug Type: *Mail Related
Bug description: 5th parameter & Bcc
When I send an e-mail using the mail function with a line
"Bcc" in the headers, the 5th parameter does not work any
more. I did not saw this type of bug in the list of already
reported bugs.
Example :
........
$headers = "From: ".$mailfrom."\n";
$headers .= "X-Mailer: PHP/".phpversion()."\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: text/plain;
charset=\"iso-8859-1\"\n";
$headers .= "Content-Transfer-Encoding: 8bit\n";
$headers .= "Bcc: ".$notforyoureyes;
$param = "-f ".$returnpath;
if (mail($mailto, $subject, $message, $headers, $param))
{
........
}
--
Edit bug report at http://bugs.php.net/?id=23113&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23113&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23113&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23113&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23113&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23113&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23113&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23113&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23113&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23113&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23113&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23113&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23113&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23113&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23113&r=gnused