How To Automail Merge
How To Automail Merge
Table of Contents
What is a mail merge?........................................................................................................................2
What do I need to start? ....................................................................................................................2
Step 1: How to create a PDF form? .....................................................................................................2
Step 2: How to add fields to a PDF document? ....................................................................................2
Using Acrobat DC to Add Form Fields ....................................................................................................... 3
Using Acrobat X / XI to Add Form Fields ................................................................................................... 5
Customizing Field Properties .................................................................................................................... 6
Using PDF Forms with Free Adobe Acrobat Reader ................................................................................. 9
Step 3: How to prepare data? ...........................................................................................................10
Step 4: How to put data into forms? .................................................................................................11
Advanced Topic 1: Checking PDF Check and Radio Boxes ...................................................................21
Advanced Topic 2: How to Create Multiline Address Labels ...............................................................22
Advanced Topic 3: Automatic Emailing of PDF forms .........................................................................26
www.evermap.com
EVERMAP
If you have a Microsoft Word document, then either print it to a PDF printer or save it as PDF using
Microsoft Word "File" menu. You can also use File > Create menu in Adobe Acrobat to create a PDF file
from many popular file formats or by scanning a paper document.
www.evermap.com
EVERMAP
If a currently open document does not contain any form fields, then you would be prompted to either
select an existing file or scan a paper document. Click "Start" button to use a currently open document:
www.evermap.com
EVERMAP
Once a document is open in a form editor, click on "Add a text field" icon located on the top toolbar:
Move cursor to a page location where you want to place a text field. You would see a moving blue
rectangle that represents a field. Press and hold left mouse button and drag a rectangle where you want
to place a text field. You will be able to change field position and size at any time:
Once the text field is placed, you would be prompted to enter a field name:
The newly added field will be shown in the "Fields" list on the right-hand side of the screen:
Proceed to "Customizing Field Properties" section for the rest of the instructions.
www.evermap.com
EVERMAP
Once a document is open in a form editor, click on Add New Field icon:
Select a field type you want to place on the document and use mouse to place a text field on a page.
Press and hold left mouse button and drag a rectangle where you want to place a text field.
www.evermap.com
EVERMAP
Adobe Acrobat by default automatically gives all new fields a name such as Text1, Text2 and so on.
You can change field name to something more informative:
You will use field names later in the mail merge where it is necessary to assign what data fields are used
to populate a specific form field. Click on All Properties link to edit field properties if necessary:
www.evermap.com
EVERMAP
Check "Read Only" option if it is necessary to protect a text field from any editing by the reader. Fields
marked as "Read Only" are non-editable.
Check "Required" option if it is necessary to force users to enter a value into the field. Users will be
required to enter information into this field and not allowed to leave it blank.
If you want to change text font or color, then select Appearance tab and use "Font Size" and "Font"
menu to choose desired text appearance. Make sure that field is big enough to display a required
number of characters while using selected font settings.
IMPORTANT: The resulting PDF file size can be greatly affected by selecting certain fonts. It is suggested
to use several of the basic fonts to avoid file size increase. These fonts are listed at the top of the font
list and comprise of the followings styles: Courier, Helvetica, and Times New Roman.
www.evermap.com
EVERMAP
If a text field needs to hold multiple lines of text, then select Options tab and check Multi-line
option:
Make sure that text field is tall enough to show required number of text lines. You can do that by either
typing text into the field or specifying a default value:
Press Close button in "Text Field Properties" dialog once you have finished editing all field properties.
Repeat the above procedure for every field you need to add to this PDF document. You can access
properties of any PDF field at any time by right-clicking on it and selecting "Properties..." from a popup
menu. Make sure to exit form editor once done adding form fields, otherwise some menu items will be
inaccessible. Use "File > Save" menu to save changes to a file.
www.evermap.com
EVERMAP
www.evermap.com
EVERMAP
Note that a first line contains comma separated field names (First Name and Last Name) while the
rest of the file contains actual data. Make sure to separate each field by a comma or tab. You can use
both types of files with AutoMailMerge software. Save this data file with either CSV extension (if you are
using comma as a separator) or TXT (if you are using tab). Now all data is ready to be used for a mail
merge.
You can also use Microsoft Excel to prepare the data. It is going to be easier since there is no need to
type commas or any other field separators. Note that the first row of the spreadsheet needs to contain
unique field names:
You can either keep automatic sheet name (such as Sheet1) or rename the worksheet to something like
"Employees". This will help to organize data if multiple sheets are going to be stored inside an Excel file.
10
www.evermap.com
EVERMAP
and Employees.xlsx Excel spreadsheet that was created at step 3. Lets start to populate our PDF form
with data from Excel file and create 4 new PDF documents using AutoMailMerge plug-in for Adobe
Acrobat (http://www.evermap.com/automailmerge.asp). One output document is created for each
record in a data file. Since we have 4 records in our test spreadsheet, then 4 personalized output files
are going to be generated. Make sure you have either a full or trial version of AutoMailMerge software
installed on your computer in order to perform the rest of this tutorial.
4.1. Start Adobe Acrobat and open a PDF form using File > Open menu. This will open a PDF form we
are going to fill with data (this is a simplified W-2 form with just 2 fields):
11
www.evermap.com
EVERMAP
4.2. Select Plug-ins > Mail Merge from Acrobat menu to start AutoMailMerge.
If you already have mail merge settings prepared and saved as settings file (*.mms), then you can load
the settings by pressing "Load Settings..." button.
4.3. Press Edit Settings button to start configuring mail merge options. This will show a wizard-style
dialog that would provide a way to specify all mail merge settings in step-by-step fashion.
12
www.evermap.com
EVERMAP
4.4. The "Select Data Source". screen provides a way to select a data file and specify data-to-PDF field
mappings. This screen can be also used to select a subset of the data records to run mail merge only for
data records that meets a specific search criteria.
Press Browse button to select a data file. You will be presented with a choice of possible input data
source types.
13
www.evermap.com
EVERMAP
14
www.evermap.com
EVERMAP
Select Employees from a list of available Excel sheets (the actual selection of sheets is different
depending on the specific file):
You can save time by naming PDF form fields with the same names as corresponding data fields. This
would allow using automated field mapping procedure. Press "Guess Mapping" button to automatically
assign field mappings based on name similarity. For example, if there are PDF and data fields both
named "First Name", then a corresponding mapping will be automatically added.
15
www.evermap.com
EVERMAP
4.6 . Select a data field that needs to be used to filling from a list of available data fields in "Select Data
Field" dialog. It is also possible to put multiple data fields into a single PDF field by using multiple-field
expressions. Press "Learn More..." button to access documentation for more details.
Press OK button to make an assignment and close the dialog. Repeat last two steps for each field that
needs to get text from a spreadsheet. You should see the following once you have completed the
assignment (the list of fields will be different depending on PDF form and data file used):
Each PDF form field has now a corresponding spreadsheet field assigned. Press Next > button to move
to the next step once you have mapped all fields.
16
www.evermap.com
EVERMAP
4.7. Use "Specify Field Options" screen to control if output form fields should remain editable or not.
Check "Flatten output PDF documents" option to make all fields in output documents non-editable. If
this option is selected, then all fields in output documents will be converted to text.
Uncheck "Flatten output PDF documents" option if you need to have content of form fields to remain
editable in the output files.
17
www.evermap.com
EVERMAP
4.8. Use "Select Output Options" screen to control where and how to save output PDF documents.
Choose output folder by pressing a Browse button and selecting a desired output folder:
Leave default settings that will name each output file using input file name and an auto-incrementing
number. For example, if you are using MyForm.pdf file as input, all output files will be named
MyForm1.pdf, MyForm2.pdf, MyForm3.pdf and so on. Software offers a number of different options
including using data fields anywhere in the file name. It is possible to automatically name output files as
John Doe.pdf, Mary Smith.pdf and etc.
Press Next > button to move to the next step once you are done specifying file options. You can skip
18
www.evermap.com
EVERMAP
all remaining screens (Add Watermark, Select Document Security, Select E-mail options and etc.)
by clicking on Next > button if you are not interested in any additional options. Everything is now
ready for running a mail merge.
4.9. Optionally, save mail merge settings into *.mms file for later reuse by pressing "Save Settings"
button. Use "Load Settings" button to load settings back.
4.9. Press OK button located on the main screen to start producing output documents:
19
www.evermap.com
EVERMAP
4.10. Press Run Mail Merge button on "Confirm Processing" dialog to start mail merge processing:
You should see Mail Merge Results dialog once a mail merge is completed. This dialog will list any
errors that occurred during the processing.
Press OK button to close this dialog and open an output folder where generated PDF files are stored.
Examine output files by opening them in Adobe Acrobat to see if they satisfy project requirements.
Make adjustments to processing settings and run mail merge again, if necessary.
You can read more in-depth information about various options offered by AutoMailMerge software in
the product users guide. Select Help > Plug-in > AutoMailMerge from Acrobat menu to access the
software manual.
Visit http://www.evermap.com/automailmerge.asp for a detailed product overview and to download a
free 30-days trial version of the software.
20
www.evermap.com
EVERMAP
By default, "Export Value" is set to "Yes" for all newly created checkboxes.
Note that the "Export Value" is case-sensitive. It needs to be filled exactly with "Yes" in order to appear
checked, not "yes" or "YES".
21
www.evermap.com
EVERMAP
2. Right-click on the form field and select Properties from popup menu. You should see a fields
Text Field Properties dialog to appear on screen.
22
www.evermap.com
EVERMAP
3. Select Options tab and check Multi-line option. This option will allow this field to hold
multiple lines of text.
23
www.evermap.com
EVERMAP
10. Check Use a multi-field expression to create a composite field option and type an expression:
[First Name] [Last Name]
[Address 1]
[Address 2}
[City], [State], [ZIP]
The expression assumes that data fields such as "First Name", "Last Name", "Address 1" and etc.
actually exist in the input data file. Any text inside [...] is treated as a data field name. All other
text is treated as static text and will be inserted into output "as-is".
24
www.evermap.com
EVERMAP
11. Press OK button to close Select Data Field dialog. Complete the rest of the configuration
wizard. Run mail merge to produce output documents.
Mailing addresses in your document should look like the following (sample):
John Doe
2397 NW Pacific Drive
Corvallis, OR, 97330
The plug-in automatically removes any blank lines in the text if a certain data fields (such as
Address 2) are empty. Use {blank} keyword if it is necessary to preserve a blank line in a
composite field:
[First Name] [Last Name]
{blank}
[Address 1]
[Address 2}
[City], [State], [ZIP]
The above expression produces the following output (sample):
John Doe
2397 NW Pacific Drive
Corvallis, OR, 97330
Examine output documents to make sure that the size of the text form field is sufficient to hold
amount of text from the all data records. Enlarge the field if text appears to be cut off on some
of the output forms or reduce font size. You can change size and visual appearance of the text
field (such as font and color) by editing it in Acrobat form editor.
25
www.evermap.com
EVERMAP
2. In mail merge settings wizard, check "Send emails to the recipients" checkbox and select "Email" data
field from "Data source field to use for email address" pull-down list.
26
www.evermap.com
EVERMAP
3. Type desired "Subject" line and enter text for the email message into "Message" entry field. It is
possible to customize each email message by inserting values of data fields into email message. For
example, type the following into "Message" field:
Dear [First Name] [Last Name],
Please find attached your monthly account statement.
Your Support Team
The above example assumes that there are "First Name" and "Last Name" data fields present in a data
source. The values from these fields will be inserted into each customized email message, producing
something like the following:
Dear John Doe,
Please find attached your monthly account statement.
Your Support Team
4. Press "Next>>" button to advance to the next settings screen. Select desired emailing method from
the screen below. By default, the software will use your currently installed email client:
27
www.evermap.com
EVERMAP
If you have selected a default emailing method, then no setup is necessary. However, this emailing
method comes with certain restrictions. Due to Windows security policy you will be prompted to
confirm sending of each email message. It is possible to send emails via current email client without
confirming each outgoing message (uncheck "Use simple MAPI protocol" option). However, this ability is
typically disabled in most corporate environments due to security reasons.
The best method to send emails without any user interaction is via SMTP email server. Select "Use SMTP
Internet E-mail Server" option if you want to use this method and press "Next>>" button.
5. You would need to know SMTP server settings for the specific server used at your organization. Enter
your name, email address, account user name, account password and SMTP server address.
Text from entered into "Your Name" field will appear in the "From" field of all outgoing emails. This is
the name that all recipients see next to each email message. Address entered into "E-mail Address" field
will be used as "reply-to" address for all emails.
Make sure that "User Name" and "Password" matches your SMTP account. These settings are crucial for
correct connection to the SMTP server and sending emails.
28
www.evermap.com
EVERMAP
6. Press "Advanced Server Options..." button to specify low level details like port number, security
protocols and authentication method.
Here is an example of settings for Gmail server:
29
www.evermap.com
EVERMAP
30
www.evermap.com