#23113 [Opn->Fbk]: 5th parameter & Bcc
| From: | sniper@php.net | Date: | Wed, 09 Apr 2003 01:01:50 +0000 |
| Subject: | #23113 [Opn->Fbk]: 5th parameter & Bcc | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37389@lists.php.net to get a copy of this message | ||
ID: 23113
Updated by: sniper@php.net
Reported By: michel dot limbour at wanadoo dot fr
-Status: Open
+Status: Feedback
-Bug Type: *Mail Related
+Bug Type: Mail related
Operating System: Linux 2.4.17
PHP Version: 4.3.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-04-08 09:24:10] michel dot limbour at wanadoo dot fr
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 this bug report at http://bugs.php.net/?id=23113&edit=1