#22785 [Bgs->Opn]: Can not send mail with a CC

From: Date: Wed, 19 Mar 2003 21:37:12 +0000
Subject: #22785 [Bgs->Opn]: Can not send mail with a CC
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35963@lists.php.net to get a copy of this message
ID: 22785 User updated by: admin at aesirnetworks dot com Reported By: admin at aesirnetworks dot com -Status: Bogus +Status: Open Bug Type: Mail related Operating System: Win2K & Win2K3 PHP Version: 4.3.2RC1 New Comment: We are testing on multiple machines. If you would like to view the info file, have ftp access, or anything else you believe is necessary to see the bug let me know. The code works fine if CC is not there, which means the email settings are fine. Add the CC and it fails. Take the CC out and it works. Please reevaluate. Mike Faulkner Systems Administrator Aesir Network Technologies Previous Comments: ------------------------------------------------------------------------ [2003-03-19 10:39:41] sniper@php.net Works fine here. Check that you _really_ upgraded to 4.3.2RC1, check your smtp settings, etc. ------------------------------------------------------------------------ [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

« previous php.bugs (#35963) next »