我有一个webjob,它已成功使用MSGraph与Office 365交互,订阅新消息的WebHook通知,读取新消息,查询和读取未读消息,设置读取状态,以及将PUT消息放入一个邮箱。我现在正尝试添加发送消息的功能。不幸的是,我遇到过很多关于" Send" URI,所有这些都返回错误代码400,"错误请求"。
以下列出了我在各种文件中找到的内容 - 这些内容均无效。
POST https://graph.microsoft.com/v1.0/users/{senderEmailAddress}/messages/{id}/send where {id} is undocumented POST https://graph.microsoft.com/v1.0/users/{senderEmailAddress}/messages/{id}/sendmail where {id} is undocumented POST https://graph.microsoft.com/v1.0/users/{senderEmailAddress}/sendmail POST https://graph.microsoft.com/v1.0/users/{senderEmailAddress}/send POST https://graph.microsoft.com/v1.0/users/{senderEmailAddress}/microsoft.graph.sendmail POST https://graph.microsoft.com/v1.0/users/{senderEmailAddress}/microsoft.graph.send POST https://graph.microsoft.com/beta/users/{senderEmailAddress}/send POST https://graph.microsoft.com/beta/users/{senderEmailAddress}/sendMail
有人能告诉我正确的URI是什么吗?