#11797 [Com]: CC and BCC don't work in mail() function

From: Date: Thu, 07 Nov 2002 09:52:56 +0000
Subject: #11797 [Com]: CC and BCC don't work in mail() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24269@lists.php.net to get a copy of this message
ID: 11797 Comment by: vinay_s_in@hotmail.com Reported By: diankov_ss@usa.net Status: Closed Bug Type: Mail related Operating System: Windows 2000 PHP Version: 4.0.4 Assigned To: hholzgra New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-05-22 05:52:18] 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. ------------------------------------------------------------------------ [2001-08-19 05:13:22] sniper@php.net added missing 'Assign To:' info. ------------------------------------------------------------------------ [2001-06-30 04:48:50] 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-06-30 04:33:40] derick@php.net The following should work fine. Can you check it? mail ("Mail@domain.com", "Subject", "Body", "Cc:addr2@domain.com"); ------------------------------------------------------------------------ [2001-06-29 04:31:24] diankov_ss@usa.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11797&edit=1

« previous php.bugs (#24269) next »