Outlook Mail fetching issues with IMAP

Duy Dao Trong 21 Reputation points
2021-07-05T22:43:28.333+00:00

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)

Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,244 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jade Liang-MSFT 9,976 Reputation points Microsoft Employee
    2021-07-06T06:27:54.8+00:00

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Manu Philip 18,561 Reputation points MVP
    2021-07-05T22:54:48.897+00:00

    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

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.