#22785 [NEW]: Can not send mail with a CC

From: Date: Wed, 19 Mar 2003 10:56:07 +0000
Subject: #22785 [NEW]: Can not send mail with a CC
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35923@lists.php.net to get a copy of this message
From: admin at aesirnetworks dot com Operating system: Win2K & Win2K3 PHP version: 4.3.2RC1 PHP Bug Type: Mail related Bug description: Can not send mail with a CC From news.txt. - Misc. Win32 mail() enhancements: support 'From:' header (msisolak@yahoo.com),support Bcc header, case-insensitive headers, enhanced error reporting,automatic proper line ending conversion, fixed crash with Cc, fixed buffer overflows with $header. (Markus) It looks like this issue was addresses specifically in this build, but we are unable to produce results with the following code on our test servers. This fails everytime.... <?php print mail('admin@aesirnetworks.com', 'Subject', 'Your message here.', "To: The Receiver <admin@aesirnetworks.com>\n" . "From: The Sender <admin@aesirnetworks.com>\n" . "Cc: Interested <mike@aesirinteractive.com>\r\n" . "X-Mailer: PHP 4.x"); ?> We remove the CC line and it works fine. We have tried \r\n, and \n, with all variations of Cc, cC, cc, CC and etc. to no avail. -- Edit bug report at http://bugs.php.net/?id=22785&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22785&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22785&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22785&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22785&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22785&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22785&r=support Expected behavior: http://bugs.php.net/fix.php?id=22785&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22785&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22785&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22785&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22785&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22785&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22785&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22785&r=gnused

« previous php.bugs (#35923) next »