Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

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 February 15, 2021 04:48
Code samples for FluentEmail with Graph API
var graphSenderOptions = new GraphSenderOptions
{
ClientId = "3724c544-7da0-4115-9f9b-2c43a2b806cf",
Secret = "qBi:FzxcyC57Cz8JGLwMt&",
TenantId = "c332bd38-f4c6-44a9-9654-9838abec437e",
SaveSentItems = true
};