You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The industry standard of an IMAP client checking mail is to:
-> save the uidvalidity of a mailbox
-> save the highest UID fetched from this mailbox
Then, next time you fetch emails, check whether uidvalidity is unchanged and if yes, request to get all messages with a higher UID than what you saved as the highest UID you already have. (If uidvalidity changed fetch all messages again.) This makes sure you will not miss out on messages.
Anyway, I can't find a way how I can do a $mailbox->getMessages() with UID as search criteria.
Can somebody help me?
The text was updated successfully, but these errors were encountered:
The industry standard of an IMAP client checking mail is to:
-> save the uidvalidity of a mailbox
-> save the highest UID fetched from this mailbox
Then, next time you fetch emails, check whether uidvalidity is unchanged and if yes, request to get all messages with a higher UID than what you saved as the highest UID you already have. (If uidvalidity changed fetch all messages again.) This makes sure you will not miss out on messages.
Anyway, I can't find a way how I can do a $mailbox->getMessages() with UID as search criteria.
Can somebody help me?
The text was updated successfully, but these errors were encountered: