FluentEmail icon indicating copy to clipboard operation
FluentEmail copied to clipboard

Use typed class as options for GraphSender

Open DavidDeSloovere opened this issue 4 years ago • 0 comments

Usage:

        var graphSenderOptions = this.Configuration
            .GetSection("GraphSenderOptions")
            .Get<GraphSenderOptions>();
        services.AddFluentEmail(defaultFromEmail)
            .AddRazorRenderer()
            .AddGraphSender(graphSenderOptions);

DavidDeSloovere avatar Feb 22 '21 14:02 DavidDeSloovere