Skip to content

Sender for FluentEmail that uses Microsoft Graph API

License

Notifications You must be signed in to change notification settings

mvanhil/FluentEmail.Graph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FluentEmail.Graph

Sender for FluentEmail that uses Microsoft Graph API.

Nuget

CI CodeQL Publish

Usage

Call one of the AddGraphSender extension methods.

var graphSenderOptions = this.Configuration
    .GetSection("GraphSenderOptions")
    .Get<GraphSenderOptions>();
services.AddFluentEmail("[email protected]")
    .AddRazorRenderer()
    .AddGraphSender(graphSenderOptions);

Example config in appsettings.json

{
  "GraphSenderOptions": {
    "AppId": "your app id",
    "TenantId": "your tenant id",
    "Secret": "your secret here",
    "SaveSentItems": true
  }
}

Release

Add tag to main branch and start publish manually.

Origin

Code originally written by Matt Goldman and merged into FluentEmail repo. But it was not published to NuGet until January 2021. Because we needed this implementation we created a separate repo, modified the code a bit and published it to NuGet.

About

Sender for FluentEmail that uses Microsoft Graph API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%