Hi
If there are 10,000 emails in a mail box how do I iterate though each header one by one ? Obviously 1 to 10,000 wont be the right iteration - incase the mailbox gets altered like deleting mails in the middles etc - so how do I do a obj->getNextMsgId() in php ?
imap_status has something called SA_UIDNEXT called by $status->uidnext which is what I want - but says imap_status -- This function returns status information on a mailbox other than the current one - and I want for the current one !
And I dont want do a $a = imap_headers ($mbox); - This takes too much time and memory.
Any solutions ?
Thanks