What is an effective way of dealing with EWS throttling policies?
我试图阅读我的邮箱中的每一电子邮件,并下载所有附件。 Im 碰到的问题是,交易所往往退回一个例外,即<代码>。 服务器现在无法满足这一要求。 ry。 反之,我必须打上我的极限。 在我周围进行搜捕时,可以发现,这种错误最有可能是因为我花了多少时间与化学文摘社一起工作。 滚动政策似乎是EWSPercenttimeInCAS
。
自2006年以来 我只能收到每 que1 000份电子邮件,我需要询问所有57 000份电子邮件。 我如何做这项工作?
Note that I m not attempting to circumvent the throttling policy. The only idea that comes to mind is to issue a Thread.Sleep(30000)
statement every time I retrieve 1,000 emails (my search result limit). Not ideal however should work since fetching 1,000 items takes far less time.
This issue seems to stem from downloading attachments. The mailbox has 7,000~ attachments in total.