Bug #11797 Updated: CC and BCC don't work in mail() function

From: Date: Wed, 22 May 2002 09:52:19 +0000
Subject: Bug #11797 Updated: CC and BCC don't work in mail() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8187@lists.php.net to get a copy of this message
ID: 11797 Updated by: edink@php.net Reported By: diankov_ss@usa.net -Status: Assigned +Status: Closed Bug Type: Mail related Operating System: Windows 2000 PHP Version: 4.0.4 Assigned To: hholzgra New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#8187) next »