我正在尝试通过Outlook / Office 365 Mail API检索附件。我发送了一封来自Google的电子邮件到我的Office 365帐户,其中包含.eml作为附件。当我检索电子邮件时,我收到内部服务器错误作为响应。我尝试过使用2.0和Beta版本的API。是否可以检索.eml附件?
请求:
https://outlook.office365.com/api/v2.0/me/messages/{message_id}/attachments
响应:
{
"error": {
"code": "ErrorInternalServerError"
"message": "Unable to cast object of type 'Microsoft.Exchange.Services.Core.Types.ItemAttachmentType'
to type'Microsoft.Exchange.Services.Core.Types.FileAttachmentType'."
}-
}
答案 0 :(得分:0)
M.Fur - 很抱歉,需要一段时间才能进行调查,但已经检查了修复程序,并且应该在5月底之前在全球部署。