2018.2

Table Of Contents
Email output
The Email context outputs HTML email with embedded formatting to an email client through the
use of an email server. The HTML generated by this context is meant to be compatible with as
many clients and as many devices as possible.
Although the Email context can contain multiple Email templates, only one of them can be
merged with each record. Which one is used, depends on a setting; see "Email output settings
in the Email context and sections" on page1228.
Email Output can be generated in two different ways: from the Designer or via Workflow. In both
cases, email is sent in a single batch for the whole record set.
To test a template, you can test the scripts (see "Testing scripts" on page731) and send a test
email first (see Send Test Email), before actually sending the email (see "Generating Email
output" on page1227).
Attachments
Output, generated from an Email template, can have the following attachments:
l The contents of the Print context, in the form of a single PDF attachment. (Compression
options for PDF attachments can be specified in the Email context's properties; see .)
l The output of the Web context, as a self-contained HTML file.
l Other files, an image or a PDF leaflet for example.
l Attaching the Print context and/or the Web contextis one of the options in the Send (Test)
Email dialog.
To learn how to attach other files, see "Email attachments" on page456.
Web output
The Web context outputs an HTML web page that contains the HTML text and all the resources
necessary to display it.
Page 1206