This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EmailNotifier : INotifier | |
{ | |
public void Send(string subject, string body, Owner recipient) | |
{ | |
// logic that sends email | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var graphSenderOptions = new GraphSenderOptions | |
{ | |
ClientId = "3724c544-7da0-4115-9f9b-2c43a2b806cf", | |
Secret = "qBi:FzxcyC57Cz8JGLwMt&", | |
TenantId = "c332bd38-f4c6-44a9-9654-9838abec437e", | |
SaveSentItems = true | |
}; |