ID: 22785 User updated by: admin at aesirnetworks dot com Reported By: admin at aesirnetworks dot com -Status: Feedback +Status: Closed Bug Type: Mail related Operating System: Win2K3 PHP Version: 4.3.2RC1 New Comment:
Thank you kinldy. The last comment enabled us to get the data to the mail server correctly. It was carrying the < symbol to the mail server previously. Works fine now. Previous Comments: ------------------------------------------------------------------------ [2003-03-20 18:16:55] [EMAIL PROTECTED] And the name part of the addresses should be enclosed in "'s. e.g.: "From: \"The Sender\" <[EMAIL PROTECTED]>\r\n" . ------------------------------------------------------------------------ [2003-03-20 18:12:21] [EMAIL PROTECTED] In all previous cases, any problems with mail() have been configuration issues. So check your php.ini for the mail related settings. (SMTP, etc.) And from the manual: "Note: You must use \r\n to separate headers, although some Unix mail transfer agents may work with just a single newline (\n). " You need to separate all the headers with \r\n.. ------------------------------------------------------------------------ [2003-03-19 19:30:16] admin at aesirnetworks dot com We seem to have another unrelated technical issue with our single Win2K that has prevented us from doing any further testing there for the moment. But we have 3 Win2K3 boxes that run PHP just fine, with no other problems, and they all send mail fine. But not with the CC added. If this can be narrowed down to a configuration issue within PHP please let us know, but if it works without the CC but not with it, then what else is there to try? We’d like to narrow this down to a fix as soon as possible. If it’s on our end, then so be it, but as far as we can tell it looks like PHP itself is failing to process email correctly when using the CC. Are you using identical code? Or a variation? ------------------------------------------------------------------------ [2003-03-19 15:55:02] [EMAIL PROTECTED] Yes, I tried on windows 2000 machine, and it worked fine, regardless whether there was CC: or not. ------------------------------------------------------------------------ [2003-03-19 15:37:11] admin at aesirnetworks dot com 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 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22785 -- Edit this bug report at http://bugs.php.net/?id=22785&edit=1