Modifies GraphSender to use Upload Session #85
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was receiving a Microsoft Graph API error when trying to use FluentEmail.Graph to send emails with attachments over 3MB. So, I created a fork of NatchEurope/FluentEmail.Graph that modifies the
GraphSenderto use an upload session for sending emails with attachments that are 3MB or larger.Unfortunately, the Microsoft Graph API
Sendmethod does not have aSaveSentItemsargument like theSendMailmethod does, so I had to remove the option to disable saving sent items. See Link 1, Link 2, and Link 3.You probably won't want to merge this into your project since you will lose the
SaveSentItemsargument. But you can use/reference my code if you do decide to modify the project to use upload sessions. Or at the very least others can use my fork if they need to send emails with larger attachments.I have opened issue #84