Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
idIMAP4 Help required
#1
Hi

I'm after a bit of help with idIMAP4.

I'm reading an IMAP folder using the UIDRetrieveAllEnvelopes method, a week later I want to get all the new emails that have arrived since the last read.

Currently I'm calling UIDRetrieveAllEnvelopes a second time and then looking at the messages with a greater UID than the max retrieved previously.

Up to now this has worked OK, but today I came across an IMAP folder with > 100,000 emails in it and so even UIDRetrieveAllEnvelopes take a very long time.

I feel that there should be a faster way to get all the new emails, but I can't see how - am I missing some methods that might help here. Obviously I can't just go on the Mailbox count as I've no idea what the user might have done in some other IMAP app e.g deleted emails etc between my apps reads.

Thanks

David
Reply


Messages In This Thread
idIMAP4 Help required - by david_navigator - 03-27-2018, 10:22 PM
RE: idIMAP4 Help required - by david_navigator - 03-28-2018, 03:32 PM
RE: idIMAP4 Help required - by kudzu - 03-28-2018, 09:05 PM
RE: idIMAP4 Help required - by rlebeau - 03-30-2018, 02:54 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)