php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11797 CC and BCC don't work in mail() function
Submitted: 2001-06-29 04:31 UTC Modified: 2002-05-22 05:52 UTC
Votes:6
Avg. Score:4.8 ± 0.4
Reproduced:6 of 6 (100.0%)
Same Version:0 (0.0%)
Same OS:4 (66.7%)
From: diankov_ss at usa dot net Assigned: hholzgra (profile)
Status: Closed Package: Mail related
PHP Version: 4.0.4 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: diankov_ss at usa dot net
New email:
PHP Version: OS:

 

 [2001-06-29 04:31 UTC] diankov_ss at usa dot net
I'm using php 4.0.4 on Windows 2000 with IIS.
The mail() function is working perfect, except the CC and BCC options.

I tried the following:
\nBCC:
\r\nBCC:
\nBcc:
\r\nBcc:

and the same with CC.

No result.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-30 04:33 UTC] derick@php.net
The following should work fine. Can you check it?

mail ("Mail@domain.com", "Subject", "Body", "Cc:addr2@domain.com");
 [2001-06-30 04:48 UTC] hholzgra@php.net
mail code on windows badly needs a rewrite

right now it will only find a single Cc: line,
is case sensitive on comparing againgst Cc:
(so CC: wont work) and ignores Bcc: all together
 [2001-08-19 05:13 UTC] sniper@php.net
added missing 'Assign To:' info.

 [2002-05-22 05:52 UTC] edink@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 [2002-11-07 03:52 UTC] vinay_s_in at hotmail dot com
I'm using php 4.0.6 on Linux 7.x with Apache 1.3.20.
The mail() function is working perfect, except the BCC option.

I tried the following:
\nBCC:
\r\nBCC:
\nBcc:
\r\nBcc:
\nbcc:
\r\nbcc:

No result.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jun 24 08:01:23 2021 UTC