Good day, We have a CRM which allow users to add their Outlook.com account to our system then we use IMAP to sync emails to CRM. Our mail scrapper (written in C#) will scan all email folders in mailbox then pull new emails to system, some of connected email addresses have over 3000 email folders, thus when scan all of those email folders we got error messages sometimes saying that "The IMAP server has unexpectedly disconnected." or "Request is throttled. Suggested backoff time …".
Could you please advise us to get over this issues?

We are using Mailkit (2.12) and .netframework 4.8 to scan the mailbox.

Thank you for your time and your considerations,

Daniel (Duy)

Hi @Duy Dao Trong ,

Please kindly understand under outlook tag, we mainly focus on general issues about Outlook desktop client, consideiring your issue may be related to your outlook.com account, it's recommended to post your issue in this dedicated outlook.com account forum , so that there may be more relevant experts who could provide you with more targeted help.

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thanks for your understanding and hope your question will be resolved soon.

If the response is helpful, please click " Accept Answer " and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Check, if you can increase the default throttling limit as indicated in the following article
exchange-online-throttling-and-limits-faq

connect Remote PowerShell for your tenant as explained in 'How do I get throttling settings?' section

hi @Manu Philip ,

The client just got back to us and say it worked but not really stable, sometimes does sometimes not, we have made changes to our system by saving all email folders which failed to sync then try again after a period of time, it worked just the matter of time. Thank you for your post.

Also i wanna ask if you guys ever hear anything about Microsoft plan to stop supporting IMAP/POP/SMTP sometimes in the future?

Thank you,