#41397 [Com]: imap_headerinfo breaks after calling imap_fetch_overview

From: Date: Tue, 12 Jun 2007 09:56:03 +0000
Subject: #41397 [Com]: imap_headerinfo breaks after calling imap_fetch_overview
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113683@lists.php.net to get a copy of this message
ID: 41397 Comment by: a dot hoch at arcor dot de Reported By: laacz at laacz dot lv Status: Assigned Bug Type: IMAP related Operating System: Gentoo PHP Version: 5.2.2 Assigned To: iliaa New Comment: 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 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 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

« previous php.bugs (#113683) next »