Free Support Forum - aspose.com

IMAP/EWS Multithreading

Is it possible to use threads to access message using IMAP or EWS. Some of the accounts have tens of thousands of messages and it takes many hours to retrieve them sequentially. There are a couple of possible ways to speed it up, if they are supported.

  1. Start multiple ListMessagesByPage on different folders
  2. Start multiple ListMessagesByPage on different points in the same folder.

Any advice would be appreciated.

Thank you

@PPLAspose,

Thank you for writing to Aspose support team.

We are working on this issue and request you to spare us little time for further analysis. We will write back here as soon as feedback is ready to share.

@PPLAspose,

Please use ListMessagesByPage on different folders with one folder per thread to use the feature in multithreading environment.

Thank you, I will try that