MailMergeLib is a mail message client library which provides comfortable mail merge capabilities for text, inline images and attachments, as well as good throughput and fault tolerance for sending mail messages.
$ dotnet add package MailMergeLib
MailMergeLib version 5 is an SMTP mail client library which provides comfortable mail merge capabilities. MailMergeLib is written in C# and comes with the following features:
{MailboxAddress.Name} or with formatting arguments like {Date:yyyy-MM-dd}.MailMergeLib can generate a plain text representation.IEnumerable object as well as DataTables. The data source for single emails can be any of the following types: Dictionary<string,object>, ExpandoObject, DataRow, any class instances or anonymous types. For class instances it's even allowed to use the name of parameter less methods.System.Net.Mail.MailMergeLib for sending unsolicited bulk email.