2022.1

Table Of Contents
An Email context can contain multiple templates. When generating output from the Email
context, however, only one of the Email templates can be merged with each record. Set the
'default' Email section (see below) before generating Email output; see also "Generating Email
output" on page1560.
For information about attachments see "Email attachments" on page569.
A plain-text version of the HTML is added to each email if the option is checked in the Email
section's properties (see "Properties tab" on page1075). With new templates this is always the
case.
Adding an Email template
When an Email template is created (see "Creating an Email template with a Wizard" on
page552), only one Email section is added to it. An Email context may contain various
templates, but per record only one of those can be sent when you generate Email output.
It is not possible to add an Email section to an existing Email context with the help of a
Template Wizard.
To provide alternative content for your email, you could use Conditional Content (see "Showing
content conditionally" on page856), or Snippets and a script (see "Snippets" on page775 and
"Loading a snippet via a script" on page945).
If you would like to start with a template that is identical to the one you already have, consider
copying it (see "Copying a section" on page501). If it's inside another template you can import
it (see below).
To add a section to the Email context:
l On the Resources pane, expand the Contexts folder, right-click the Email folder, and
then click New Email.
Importing an Email template
To import an Email section from another template, click File >Import Resources... in the
menu. See: "Import Resources dialog" on page1029.
Remember also to add or import any related source files, such as images.
Page 559