note 48236 deleted from function.imap-fetch-overview by nlopess
| From: | nlopess@php.net | Date: | Thu, 16 Dec 2004 11:01:44 +0000 |
| Subject: | note 48236 deleted from function.imap-fetch-overview by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81851@lists.php.net to get a copy of this message | ||
Note Submitter: pseudo at onkelpeter dot de
----
search in an imap-folder:
$search = "Searchstring";
$mbox = imap_open ($imap_host."INBOX/".$folder, $imap_user, $imap_pass);
$searchstring = "SUBJECT \"".$search."\"";
$result = imap_search($mbox, $searchstring, SE_UID);
while (list ($key, $val) = each ($result))
{
if(!isset($get)) $get = $val;
else $get .= ",".$val;
}
$overview = imap_fetch_overview($mbox, "$get");
It works fine, but at maybe 10 or 20 results ones the array is empty. Is this a bug?
peter