ID: 14779 Updated by: irc-html Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Mail related Operating System: Win2k PHP Version: 4.1.1 New Comment:
I see there are already several of the same reports. Status: Duplicate Previous Comments: ------------------------------------------------------------------------ [2001-12-31 00:22:07] [EMAIL PROTECTED] Want to send an e-mail to 2 e-mail addresses, one normal To: and other Cc:. Simple script works on linux but not on win2k: $headers = "Cc: <[EMAIL PROTECTED]>\r\n"; $headers .= "From: \"Program Test\" <[EMAIL PROTECTED]>\r\n"; mail('<[EMAIL PROTECTED]>', 'subject', 'message', $headers); SMTP server is qmail. Email successfully sent to To: address but Cc header in message to Cc address (Cc address never receives email, drops to 'catch-all' account) ends up to be: Delivered-To: cc: <[EMAIL PROTECTED] Note the cc: and the dropped '>'. I'm assuming this is a bug with the mail handler in PHP with win32. I've also tried the same code without surrounding the e-mail addresses with <>. Same behavior with 4.0.6 (on win32). ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14779&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]