ID: 45638
User updated by: arun dot magzion at gmail dot com
Reported By: arun dot magzion at gmail dot com
Status: Open
Bug Type: IMAP related
Operating System: Windows
-PHP Version: 5.2.6
+PHP Version: 5.2.5
New Comment:
Change in version
Previous Comments:
------------------------------------------------------------------------
[2008-07-27 14:53:33] arun dot magzion at gmail dot com
Description:
------------
THe imap_header funtion return the multiple email address for cc, bcc
but not with the to email address.
Reproduce code:
---------------
$ccbcc = imap_header($mbox,$msgid);
if(isset($ccbcc->to)){
$to = "";
foreach($ccbcc->to as $mto) {
if(isset($mto->personal)) {
$to = $to. $mto->personal;
}
if(isset($mto->mailbox) && isset($mto->host)) {
$to = $to."< ".$mto->mailbox."@".$mto->host." >". ",";
}
}
$to = substr($to, 0,strlen($to)-1);
}
Expected result:
----------------
[EMAIL PROTECTED], [EMAIL PROTECTED]
Actual result:
--------------
[EMAIL PROTECTED]
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45638&edit=1