php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5137 mail() does not send to CC: in extra headers section.
Submitted: 2000-06-20 02:56 UTC Modified: 2000-07-12 12:50 UTC
From: joel at intwebservices dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.0 Release OS: Windows NT 4.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: joel at intwebservices dot com
New email:
PHP Version: OS:

 

 [2000-06-20 02:56 UTC] joel at intwebservices dot com
<?php
//*******************************************************************************
mail("joel@intwebservices.com", "the subject", "the message<br> is <br>here",
"From: webmaster@$SERVER_NAME\nCC: webmaster@intwebservices.com\nReply-To: webmaster@$SERVER_NAME\nX-Mailer:PHP/" . phpversion());
?>
<html>
<body>
the mail was sent?
</body>
</html>

Problem:
CC: webmaster@intwebservices.com never does get a copy.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-28 12:20 UTC] hholzgra at cvs dot php dot net
should be fixed in latest cvs
 [2000-07-04 23:12 UTC] hholzgra at cvs dot php dot net
the "fix" was rejected due to compilation problems
as my win system broke down i won't be able to
look at it until i get myself a new machine 
 [2000-07-12 12:50 UTC] jah at cvs dot php dot net
Fixed in cvs.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 13:00:01 2026 UTC