filtering for valid messages with the reponse of the IMAP Servers

This commit is contained in:
Klaus Leithoff 2009-03-16 09:18:34 +00:00
parent cac46f75b0
commit 67bfda1e3b

View File

@ -422,6 +422,7 @@ class Net_IMAP extends Net_IMAPProtocol {
if(isset( $ret["PARSED"] ) ){
for($i=0; $i<count($ret["PARSED"]) ; $i++){
if ($ret["PARSED"][$i]['COMMAND'] != 'FETCH') continue;
$a=$ret["PARSED"][$i]['EXT']['ENVELOPE'];
$a['MSG_NUM']=$ret["PARSED"][$i]['NRO'];
$a['UID']=$ret["PARSED"][$i]['EXT']['UID'];