Skip to main content
MailMergeLib package icon

MailMergeLib

Main Features: 1. Mail Message Generation: * Email templates can be fully individualized in terms of recipients, subject, HTML and/or plain text, attachments and even headers. Placeholders are inserted as variable names from data source between curly braces like so: {MailboxAddress.Name} or with formatting arguments like {Date:yyyy-MM-dd}. * HTML text may contain images from local hard disk, which will be automatically inserted as inline attachments. * For HTML text MailMergeLib can generate a plain text representation. * Attachment sources can be files, streams or strings. * The data source for email merge messages to a number of recipients and be any 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. * Placeholders in the email can be formatted with any of the features known from string.Format by using SmartFormat.NET. SmartFormat is a parser coming close to string.Format's speed, but bringing a lot of additional options like easy pluralization for many languages. 2. Sending Mail Messages: * Practically unlimited number of parallel tasks to send out individualized emails to a big number of recipients. * Several SMTP mail servers concurrently * Progress of processing emails can easily be observed with a number of events. * SMTP failures can automatically be resolved supplying a backup configuration. 3. Save and restore: * Messages and templates can be saved and loaded to/from XML files. * Configuration settings for messages and SMTP can be stored to and loaded from an XML file.

Total Downloads
176.7K
176,657
Published
Mar 10, 2018
Latest stable version

Install

.NET CLI
dotnet add package MailMergeLib --version 5.4.1
Package Manager Console
Install-Package MailMergeLib -Version 5.4.1
PackageReference
<PackageReference Include="MailMergeLib" Version="5.4.1" />

Frameworks

.NETStandard1.6 .NETFramework4.0 .NETFramework4.5

Dependencies

AngleSharp
.NETStandard1.6
[0.9.9.1, )
MailKit
.NETStandard1.6
[2.0.1, )
MimeKit
.NETStandard1.6
[2.0.1, )
NETStandard.Library
.NETStandard1.6
[1.6.1, )
[4.3.0, )
System.Data.Common
.NETStandard1.6
[4.3.0, )
System.IO.FileSystem
.NETStandard1.6
[4.3.0, )
System.Runtime
.NETStandard1.6
[4.3.0, )
[4.3.0, )
YAXLib
.NETStandard1.6
[2.15.0, )
AngleSharp
.NETFramework4.0
[0.9.9.1, )
MailKit
.NETFramework4.0
[1.22.0, )
Microsoft.Bcl
.NETFramework4.0
[1.1.10, )
Microsoft.Bcl.Async
.NETFramework4.0
[1.0.168, )
Microsoft.Bcl.Build
.NETFramework4.0
[1.0.21, )
YAXLib
.NETFramework4.0
[2.15.0, )
AngleSharp
.NETFramework4.5
[0.9.9.1, )
MailKit
.NETFramework4.5
[2.0.1, )
YAXLib
.NETFramework4.5
[2.15.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

The published metadata declares 19 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.