microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

Get ItemAttachment MimeContent or byte[] to be able to save as a file.

Open
#1,819 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug: metadata OpenApi
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

Been tryíng to save ItemAttachments as a eml or msg file but can't find a way to do that.

Would be great to get the ContentBytes as for a FileAttachment.

Otherwise like it was possible in the EWS to get the MimeContent of the ItemAttachment.Item.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the ItemAttachment and FileAttachment entry points and comparing the requested ContentBytes behavior with EWS MimeContent. Determine how an ItemAttachment could expose eml or msg content for saving, and consider the Microsoft Graph API support and response shape. Done means the SDK provides a documented way to retrieve that content, with corresponding tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.