This repository contains examples that illustrates how to mail merge Word documents in C# and VB.NET using Syncfusion’s .NET Word library (Essential DocIO) without Microsoft Word or Office interop dependencies.
Mail merge is a process of merging data (replacing merge fields) from a data source into the template Word document.
The Syncfusion Word library (Essential DocIO) has a powerful mail merge API to generate personalized reports like letters, pre-addressed envelopes, address labels, invoice, payroll, and more. It performs mail merge faster in a batch process without Microsoft Word or Office interop dependencies. The generated reports can be saved as a Word document, PDF, image, HTML, and more.
NuGet is the one of the easiest ways to download and install Syncfusion Word library (Essential DocIO) to read, write, and edit Word documents. The following NuGet packages need to be installed in your application.
Platform(s) | Package name |
---|---|
Windows Forms | Syncfusion.DocIO.WinForms.nupkg |
WPF | Syncfusion.DocIO.Wpf.nupkg |
ASP.NET | Syncfusion.DocIO.AspNet.nupkg |
ASP.NET MVC4 | Syncfusion.DocIO.AspNet.Mvc4.nupkg |
ASP.NET MVC5 | Syncfusion.DocIO.AspNet.Mvc5.nupkg |
ASP.NET Core and Blazor | Syncfusion.DocIO.Net.Core.nupkg |
Xamarin | Syncfusion.Xamarin.DocIO.nupkg |
UWP | Syncfusion.DocIO.UWP.nupkg |
-
Envelopes for mailing in C# - Create envelopes for mailings to the list of recipients.
-
Generate multiple Word documents in C# - Create a batch of personalized letters as individual document for each record.
-
Create and send email messages in C# - Create and send email messages by converting merged document to HTML.
-
Personalized letters in C# - Create personalized letters for selected recipient from the mailing list.
-
Order details of a customer in C# - Generate order details of a customer using nested mail merge.
-
Barcode labels in C# - Generate a barcode labels for grocery store.
-
Mail merge using Excel Spreadsheet in C# - Import data from Excel Spreadsheet and generate a report.
-
Product catalog in C# - Generate a product catalog and formatting the merged text.
-
Replace merge field with HTML in C# - Replace merge field with HTML string using mail merge.
-
Fit the photo within text box in C# - Fit the photo within the text box in the Word document using mail merge.
-
Start each record on a new page in C# - Generate each record in new page while executing group mail merge.
Envelopes for mailing
Batch of personalized letters
Barcode labels
Replace merge field with HTML
Fit photo within text box
Start each record on a new page
-
Product page: Syncfusion Word Framework
-
Documentation: Mail merge using Syncfusion Word library
-
Online demo: Essential DocIO-Online demos
-
Download: Syncfusion File Formats Controls
-
For queries, contact our Syncfusion support team or post the queries through community forums.
-
To renew the subscription, click here or contact our sales team at [email protected].
This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.