You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
# Fork of NatchEurope/FluentEmail.Graph
2
+
3
+
Fork of [NatchEurope/FluentEmail.Graph](https://github.com/NatchEurope/FluentEmail.Graph) that modifies the `GraphSender` to use an upload session for sending emails with attachments that are 3MB or larger. I was receiving a Microsoft Graph API error when trying to use FluentEmail.Graph to send emails with attachments over 3MB.
4
+
5
+
[Microsoft Docs on using the Graph API to send large attachments](https://docs.microsoft.com/en-us/graph/outlook-large-attachments?tabs=csharp)
6
+
7
+
Unfortunately, the Microsoft Graph API `Send` method does not have a `SaveSentItems` argument like the `SendMail` method does, so I had to remove the option to disable saving sent items. See [Link 1](https://docs.microsoft.com/en-us/answers/questions/337574/graph-sdk-i-want-to-send-the-saved-draft-mail-but.html), [Link 2](https://docs.microsoft.com/en-us/graph/api/message-send?view=graph-rest-1.0&tabs=http), and [Link 3](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/743).
8
+
1
9
# FluentEmail.Graph
2
10
3
11
Sender for [FluentEmail](https://github.com/lukencode/FluentEmail) that uses [Microsoft Graph API](https://docs.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0).
@@ -29,7 +37,6 @@ Example config in `appsettings.json`
Copy file name to clipboardExpand all lines: src/FluentEmail.Graph/GraphSenderOptions.cs
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,5 @@ public class GraphSenderOptions
19
19
/// Gets or sets the secret string previously shared with AAD at application registration to prove the identity of the application (the client) requesting the tokens.
20
20
/// </summary>
21
21
publicstringSecret{get;set;}
22
-
23
-
/// <summary>
24
-
/// Gets or sets a value indicating whether to save the message in Sent Items. Default is <c>true</c>.
0 commit comments