ID:               41397
 Updated by:       [EMAIL PROTECTED]
 Reported By:      laacz at laacz dot lv
-Status:           Open
+Status:           Assigned
 Bug Type:         IMAP related
 Operating System: Gentoo
 PHP Version:      5.2.2
-Assigned To:      
+Assigned To:      iliaa


Previous Comments:
------------------------------------------------------------------------

[2007-05-15 12:20:44] laacz at laacz dot lv

Description:
------------
If imap_fetch_overview is called, imap_headerinfo returns only first
from multiple recepients in 'to' and 'toaddress'.

Reproduce code:
---------------
// IMAP connection before this

$info = imap_headerinfo($imap, 110)
// Following outputs [EMAIL PROTECTED], [EMAIL PROTECTED], "Another user" 
<[EMAIL PROTECTED]>
echo $info->toaddress . "\n";

$messages = imap_fetch_overview($imap, $range);

$info = imap_headerinfo($imap, 110); 
// Following outputs [EMAIL PROTECTED]
echo $info->toaddress . "\n";


Expected result:
----------------
[EMAIL PROTECTED], [EMAIL PROTECTED], "Another user" <[EMAIL PROTECTED]>
[EMAIL PROTECTED], [EMAIL PROTECTED], "Another user" <[EMAIL PROTECTED]>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41397&edit=1

Reply via email to