php-developer-list | 2001122
Date: 12/31/01
- Next message: jlim <email protected>: "[PHP-DEV] Bug #14780: Segmentation fault with "mm",PHP works fine with "files""
- Previous message: roberto <email protected>: "[PHP-DEV] Bug #14778: Function self-caller crash php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: irc-html <email protected>
Operating system: Win2k
PHP version: 4.1.1
PHP Bug Type: Mail related
Bug description: mail() on win2k not parsing Cc: properly
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: <address1 <email protected>>\r\n";
$headers .= "From: \"Program Test\" <from <email protected>>\r\n";
mail('<address2 <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: <sales <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 bug report at: http://bugs.php.net/?id=14779&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: jlim <email protected>: "[PHP-DEV] Bug #14780: Segmentation fault with "mm",PHP works fine with "files""
- Previous message: roberto <email protected>: "[PHP-DEV] Bug #14778: Function self-caller crash php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

