我正在尝试将电子邮件从我的收件箱复制到我所属群组的收件箱,但我无法让群组邮件文件夹读取其 ID。
我正在寻找类似于此 api 调用的内容:https://graph.microsoft.com/v1.0/me/mailFolders但我需要的是组邮件文件夹,而不是用户邮件文件夹。
谢谢。
最佳答案
不可能copy an email从一个邮箱(您的)到另一个邮箱(群组的)。您需要forward the message致集团:
POST https://graph.microsoft.com/v1.0/me/messages/{id}/forward
Content-type: application/json
{
"toRecipients": [
{
"emailAddress": {
"address": "{group's email address"
}
}
]
}
关于microsoft-graph-api - 微软图: get mail folder id from group,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53665672/