小编dal*_*lin的帖子

如何在 C# 中使用 Microsoft Graph 库使用 $value

I am trying to receive some .eml attachments from some emails. Based on the documentation from https://learn.microsoft.com/en-us/graph/outlook-get-mime-message I need to use: GET /users/{id}/messages/{id}/attachments/{id}/$value

The problem here is that I don't know how to do this using Microsoft.Graph library in C#. I don't know to append that "$value" to the call. Below I have attached the C# structure that I am currently using to get attachments for a specific email. Any advice could help. Thanks.

return await _graphServiceClient.Me.Messages[emailId].Attachments.Request().GetAsync()
Run Code Online (Sandbox Code Playgroud)

c# microsoft-graph-api

4
推荐指数
1
解决办法
1373
查看次数

标签 统计

c# ×1

microsoft-graph-api ×1