2018.1

Table Of Contents
When an Email template is created (see "Creating an Email template with a Wizard" on
page419) or when an Email context is added to a template (see "Adding a context" on
page374) the following happens:
l
The Email context is created and one Email section is added to it. You can see this on
the Resources pane: expand the Contexts folder, and then expand the Email folder.
See "Email templates" on the facing page to learn how to fill an Email section.
Although only one email can be sent per record when generating Email output, the Email
context can contain multiple sections. One Email section is created at the start, but you
can add more; see "Adding an Email template" on page425.
l A style sheet, named context_htmlemail_styles.css, is added to the template. Depending
on which Template Wizard was used to create the template, another style sheet can be
added as well. Style sheets are located in the folder Stylesheets on the Resources
pane. These style sheets are meant to be used for styles that are only applied to elements
in the Email context.
The Wizard opens the Email section, so that you can fill it with text and other elements; see
"Content elements" on page522 and "Email templates" on the facing page.
Sending email
When the template is ready, you can generate Email output; See "Generating Email output" on
page1123. To test a template, you can send a test email first.
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.
l The output of the Web context, as an integral HTML file.
l Other files, an image or a PDF leaflet for example.
Attaching the Print context and/or the Web context is one of the options in the Send (Test)
Email dialog.
Note
To split the Print context into multiple attachments, or to attach multiple Web sections as separate
attachments, and to rename this type of attachment, you need to create a Control Script that specifies
parts; see "Parts: splitting and renaming email attachments" on page716.
Page 423