Is it possible to get shared mailbox mails using outlook mail api

孤街醉人 提交于 2019-12-24 11:42:42

问题


I am using outlook mail api, and trying to get emails from a shared mailbox. Currently the mails of the user mailbox are fetched. I cant find a way to keep the same user but different mailbox.


回答1:


No, it isn't (at least not currently). When you use the Authorization Code Grant flow to log in a user, the user consents only to allow the app to access their information. That consent doesn't include other folks information that they've shared with that user.

If you change your application to use the Client Credentials flow, then an administrator can grant the application access to all mailboxes in their organization. That's not quite the same scenario, but if your app needs to access multiple mailboxes, it might be a better solution for you.



来源:https://stackoverflow.com/questions/32780650/is-it-possible-to-get-shared-mailbox-mails-using-outlook-mail-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!