#41397 [Com]: imap_headerinfo breaks after calling imap_fetch_overview
ID: 41397
Comment by: xdangelx at gmail dot com
Reported By: laacz at laacz dot lv
Status: No Feedback
Bug Type: IMAP related
Operating System: Gentoo
PHP Version: 5.2.2
Assigned To: iliaa
New Comment:
I can confirm this bug still exists so must not have been fixed in
subsequent updates...
If imap_fetch_overview is called then imap_headerinfo does not show
multiple to or toaddress recepients.
I am using the newest versions of PHP and c_Client (2009c) I think it
is
cant remember as I checked last night...
This should really have been fixed in the 2 years it was mentioned?
Previous Comments:
------------------------------------------------------------------------
[2008-07-29 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2008-07-21 21:41:52] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2007-06-17 15:28:44] jsimlo at yahoo dot com
The same problem occurs allso with $info->ccaddress.
Confirmed on FreeBSD 6.2-STABLE.
------------------------------------------------------------------------
[2007-06-12 09:56:03] a dot hoch at arcor dot de
I can confirm this bug for this version:
PHP 4.4.7-pl0-gentoo (cli) (built: May 29 2007 21:28:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
------------------------------------------------------------------------
[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 a@b.com, b@a.com, "Another user" <c@a.com>
echo $info->toaddress . "\n";
$messages = imap_fetch_overview($imap, $range);
$info = imap_headerinfo($imap, 110);
// Following outputs a@b.com
echo $info->toaddress . "\n";
Expected result:
----------------
a@b.com, b@a.com, "Another user" <c@a.com>
a@b.com, b@a.com, "Another user" <c@a.com>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41397&edit=1
Thread (7 messages)