#22785 [Opn->Bgs]: Can not send mail with a CC
| From: | sniper@php.net | Date: | Wed, 19 Mar 2003 16:39:42 +0000 |
| Subject: | #22785 [Opn->Bgs]: Can not send mail with a CC | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35933@lists.php.net to get a copy of this message | ||
ID: 22785
Updated by: sniper@php.net
Reported By: admin at aesirnetworks dot com
-Status: Open
+Status: Bogus
Bug Type: Mail related
Operating System: Win2K & Win2K3
PHP Version: 4.3.2RC1
New Comment:
Works fine here. Check that you _really_ upgraded to 4.3.2RC1, check
your smtp settings, etc.
Previous Comments:
------------------------------------------------------------------------
[2003-03-19 04:56:07] admin at aesirnetworks dot com
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 this bug report at http://bugs.php.net/?id=22785&edit=1