1.8

Table Of Contents
To test a template, you can test the scripts (see "Testing scripts" on page632) and send a test
email first (see Send Test Email), before actually sending the email (see "Generating Email
output" on page973).
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.
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.
To learn how to attach other files, see "Email attachments" on page379.
Web output
The Web context outputs an HTML web page that contains the HTML text and all the resources
necessary to display it.
Web output can be generated in two different ways: it can be attached to an Email template
when generating Email output (see above), or it can be generated using Workflow; see
"Generating Web output" on page981.
Although the Web context can contain multiple Web pages, only one of them can be merged
with each record. Which one is used, depends on a setting; see "Web output settings in the
Web context and sections" on page983.
Optimizing a template
Scripts
In the process of output generation, the execution of scripts may take up more time than
necessary. To optimize a template, it helps to disable scripts that don't have an effect on the
context that you're generating output from; see "Managing scripts" on page629.
Page 954