We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback


Trusted by the world’s leading companies

Overview

Mail merge is a process of merging data from a data source to a Word template document. The Syncfusion .NET Core Word library (Essential DocIO) allows you to generate reports like invoice, payroll, etc., by performing mail merge faster in a batch process without Microsoft Office or interop dependencies. The generated reports can be saved as Word document, PDF, HTML, and more.


Key Features

Fast and Reliable

Generates complex and reliable reports by performing mail merge faster in a batch process compared to Office automation libraries.

Platform Independent

A non-UI component that allows you to write C# code for performing mail merge once and reuse the same in all .NET framework, .NET Core, and Xamarin platforms.

Create or Design Template

Easily creates a Word template document with merge fields through intuitive Document Object Model (API). Or designs a Word template using Microsoft Word to mail merge with data using Syncfusion .NET Core Word library.

Multiple File Formats

Saves the merged document in multiple file formats like Word document, HTML, RTF, TXT, ODT, and PDF.

Merge Template with Data

Opens the Word template document and populates the merge fields with data from data source with a few lines of code.

Email Merged Documents

Email the merged documents as an attachment by saving as Word document or PDF or inline by saving as HTML.


Different ways of Mail merge

Performs mail merge in several ways - for a whole document, region of a document and region with hierarchical data.

Simple Mail merge

Performs mail merge by repeating the entire document automatically for every record in the data source. Multiple documents can also be created from a Word template.

Group Mail merge

Performs mail merge by repeating a region of the document automatically for every record in the data source.

Nested Mail merge

Generates complex reports by repeating nested regions of document with relational (hierarchical) data. Also, supports custom join statements to relate one table with another.


Data Sources

Populates the template Word document with data from all the common data sources of .NET framework such as ADO.NET Objects, String arrays, IEnumerable collections, Dynamic objects, and XML.


Mail merge Customization

Customizes the merged document in several intuitive options during mail merge process.

Format Merged Data

Formats the merged text, numeric values, and date-times automatically with the help of field switches.

Text Merge Event

Edits or formats the merged text, numeric and date time with merge events. Also, does page layout for the merged documents by inserting breaks.

Merge Image

When the prefix “image:” is added to the merge field name, it replaces image in the place of merge field.

Image Merge Event

Allows customizing image data and load dynamic image through image merge event.

Mapping Fields

Automatically maps the merge field names with column names in the data source. It also allows adding custom mapping to merge if field name differs in template and data sources.

Retrieve Merge Fields

Retrieves the merge field names and group names from a template document.

Remove Unmerged Fields

Removes the empty paragraphs, empty groups, and merge fields that are not merged during mail merge.



Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Scroll up icon