question

DuyDaoTrong-9419 avatar image
0 Votes"
DuyDaoTrong-9419 asked DuyTrong-1259 commented

Outlook Mail fetching issues with IMAP

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)

office-outlook-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JadeLiang-MSFT avatar image
0 Votes"
JadeLiang-MSFT answered

Hi @DuyDaoTrong-9419,

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ManuPhilip avatar image
1 Vote"
ManuPhilip answered DuyTrong-1259 commented

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

connect Remote PowerShell for your tenant as explained in 'How do I get throttling settings?' section
[1]: https://docs.microsoft.com/en-us/archive/blogs/exchangedev/exchange-online-throttling-and-limits-faq

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


Thank @ManuPhilip, i'm contacting the clients and make changes in the settings, hopefully it will work.

0 Votes 0 ·

Great to hear that. Let me know if that steps helps out and mark the answer accordingly as it helps others with similar issues

0 Votes 0 ·

hi @ManuPhilip,

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,

Duy

0 Votes 0 ·