Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.6

Bug #5122 Mail_MimeDecode: getSendArray() returns only one of to/cc/bcc as recipient
Submitted: 2005-08-17 10:47 UTC
From: sciacco at gmail dot com Assigned: alan_k
Status: Closed Package: Mail_mimeDecode
PHP Version: 4.4.0 OS: Linux
Roadmaps: 1.6.0    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2009-09-21 11:37 UTC
Package:
Bug Type:
Summary:
From: sciacco at gmail dot com
New email:
PHP Version: Package Version: OS:

 

 [2005-08-17 10:47 UTC] sciacco at gmail dot com
Description: ------------ Hi, if you use the method getSendArray() to split recipients, headers and body from a message, you will get as recipients only one of to,cc, or bcc. Test script: --------------- This is the fix (revision numbers are relative to my own repository) Index: lib/pear/Mail/mimeDecode.php =================================================================== --- lib/pear/Mail/mimeDecode.php (revision 49) +++ lib/pear/Mail/mimeDecode.php (working copy) @@ -706,7 +706,7 @@ case "to": case "cc": case "bcc": - $to = ",".$item['value']; + $to .= ",".$item['value']; default: break; }

Comments

 [2006-04-27 14:34 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-12-07 22:09 UTC] brian at blueo2 dot com (Brian Nelson)
Please fix! The patch works. This has been broken FOREVER!
 [2009-09-21 11:37 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!