gpt4 book ai didi

microsoft-graph-api - 如何使用 MS Graph API 从存档邮箱中获取消息

转载 作者:行者123 更新时间:2023-12-01 06:49:38 27 4
gpt4 key购买 nike

我想使用 Graph API 从存档邮箱(启用就地存档)获取消息。请你回答我:我该怎么做?

我发现了类似的问题,但最后一个答案是 1 年前。
问题链接:

  • Is it possible to read emails in the In-Place Archive mailbox with API?
  • How to get In-Place archive mailbox in Exchange Online using Office 365 APIs
  • Access In-Place Archive with MS Graph enter image description here
  • 最佳答案

    您可以使用“众所周知”的文件夹名称

    ArchiveMsgFolderRoot

    访问存档邮箱。
    例如,要从存档邮箱内的收件箱文件夹中获取所有邮件,请使用以下查询:
    GET https://graph.microsoft.com/v1.0/users/<id>/mailFolders/ArchiveMsgFolderRoot/childFolders/Inbox/messages

    顺便说一句,它使用另一个预定义的文件夹 id ( Inbox )

    关于 how to work with Archived Mailbox via Graph API 的更多详细信息

    关于microsoft-graph-api - 如何使用 MS Graph API 从存档邮箱中获取消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52991085/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com