php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5116 [Wrong Result] imap_fetch_overview()
Submitted: 2000-06-19 10:31 UTC Modified: 2000-06-19 20:12 UTC
From: yakang at orgio dot net Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.0 Release OS: LINUX (RedHat 6.1)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yakang at orgio dot net
New email:
PHP Version: OS:

 

 [2000-06-19 10:31 UTC] yakang at orgio dot net
---------------- 
My Code :
---------------- 

$aSeq_Number = "1,2,3,4,5";
$aOverview = imap_fetch_overview($link, $aSeq_Number, 0) 
if ( is_array($aOverview) ) {
  reset($aOverview);
  while ( list($key, $val) = each($aOverview)) {
    echo "$val->from<br>";
  }
}

The message no of my mailbox is three.
The first sender is yakang@orgio.net, the second senderyeon@samsung.co.kr, the third sender jph@orgio.net

---------------- 
The result :
----------------
yakang@orgio.net
yakang@orgio.netyeonsh@samsung.co.kr
yakang@orgio.netyeonsh@samsung.co.krjph@orgio.net

------------------
I think that $from value is appended. 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-19 20:12 UTC] rasmus at cvs dot php dot net
This was fixed a couple of hours ago.  Grab a current snapshot from http://snaps.php.net and try again.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC