Skip to content

Instantly share code, notes, and snippets.

View EmailNotifier.cs
public class EmailNotifier : INotifier
{
public void Send(string subject, string body, Owner recipient)
{
// logic that sends email
}
}
@matt-goldman
matt-goldman / CreateGraphSenderOptions.cs
Last active Feb 15, 2021
Code samples for FluentEmail with Graph API
View CreateGraphSenderOptions.cs
var graphSenderOptions = new GraphSenderOptions
{
ClientId = "3724c544-7da0-4115-9f9b-2c43a2b806cf",
Secret = "qBi:FzxcyC57Cz8JGLwMt&",
TenantId = "c332bd38-f4c6-44a9-9654-9838abec437e",
SaveSentItems = true
};