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
([EMAIL PROTECTED]),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('[EMAIL PROTECTED]',
'Subject', 'Your message here.',
"To: The Receiver <[EMAIL PROTECTED]>\n" .
"From: The Sender <[EMAIL PROTECTED]>\n" .
"Cc: Interested <[EMAIL PROTECTED]>\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