1.4

Only one Email section is created at the start, but you can add as many Email sections as you
need; see "Email templates" on page 300. However, when the Designer merges a data set to
generate output from the Email context, it can merge only one of the templates with each
record; see "Generating Email output" on page 320.
Email templates are personalized just like any other template; see "Variable Data" on page
336.
Sending email
When the template is ready, you can change the email settings (see "Email header settings" on
page 303) and send the email directly from the Designer or via Workflow. To test a template,
you can send a test email first.
Email output can have the following attachments:
l The contents of the Print context, in the form of a 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.
See "Email attachments" on page 306 and "Generating Email output" on page 320.
Email context
In the Designer the Email context is the folder that contains Email templates. From the Email
context, output can be generated in the form of email (see below).
When an Email template is created (see "Creating an Email template with a Wizard" on page
428) or when an Email context is added to a template (see "Adding a context" on page 222) 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 page 300 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 300.
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
Page 298