php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23113 5th parameter & Bcc
Submitted: 2003-04-08 09:24 UTC Modified: 2003-04-21 09:21 UTC
From: michel dot limbour at wanadoo dot fr Assigned:
Status: No Feedback Package: Mail related
PHP Version: 4.3.0 OS: Linux 2.4.17
Private report: No CVE-ID: None
 [2003-04-08 09:24 UTC] 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))
    {
       ........
    }

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-21 09:21 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 11:01:27 2024 UTC