World Library  
Flag as Inappropriate
Email this Article

Mail merge

Article Id: WHEBN0001558403
Reproduction Date:

Title: Mail merge  
Author: World Heritage Encyclopedia
Language: English
Subject: Word processor, LocoScript, WordPerfect, Comparison of word processors, Amstrad PCW
Collection: Text Editor Features, Word Processors
Publisher: World Heritage Encyclopedia

Mail merge

Mail merge is a software operation describing the production of multiple (and potentially large numbers of) documents from a single template form and a structured data source: it fills in a form letter. The letter may be sent out to many "recipients" with small changes, such as a change of address or a change in the greeting line; these are represented by form fields or placeholders in the template. This allows production of bulk mailing to a mailing list. This functionality is built into many word processors, or in separate programs.


Mail merge dates to early word processors on personal computers, circa 1980. WordStar was perhaps the earliest to provide this, originally via an ancillary program called MailMerge. WordPerfect also offered this capacity for CP/M and MS-DOS systems, while Microsoft Word did so later.

Modern usage

Now used generically, the term "mail merge" is a process to create personalized letters and pre-addressed envelopes or mailing labels mass mailings from a form letter – a word processing document which contains fixed text, which will be the same in each output document, and variables, which act as placeholders that are replaced by text from the data source.

The data source is typically a spreadsheet or a database which has a field or column for each variable in the template. When the mail merge is run, the word processing system creates an output document for each row in the database, using the fixed text exactly as it appears in the template, but substituting the data variables in the template with the values from the matching columns.

Mail merging is done in following simple steps:

  1. Creating a Main document.
  2. Creating a Data Source.
  3. Adding the merge fields into main document.
  4. Merging the data with the main document.

Common usages

A common usage is for creating "personalised" letters, where a template is created, with a field for "Given Name", for example. The templated letter says "Dear ", and when executed, the mail merge creates a letter for each record in the database, so it appears the letter is more personal. It

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.