An EmailBuilder would be built with configurable default value (sender email address...)
var emailBuilder = new EmailBuilder()
.AddSender("")
.AddReplyTo("")
.AddRecipient("")
.AddCarbonCopyRecipient("")
.AddBlackCarbonCopyRecipient("")
.AddSubject("")
.AddAttachment("");
Templated
emailBuilder
.AddTemplatedBody("TemplateKey", context)
.AddTemplatedSubject("TemplateKey", context);
HTML
emailBuilder.AddHtmlBody("<html>...");
Plain-text
emailBuilder.AddPlainTextBody("Hello, ...");
Finally build the email and pass it to the provider
await provider.SendEmailAsync(emailBuilder.Build());
An
EmailBuilderwould be built with configurable default value (sender email address...)Templated
HTML
Plain-text
Finally build the email and pass it to the provider