1.4

Sending email
When the template is ready, you can generate Email output; See "Generating Email output" on
page 148. 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 one PDF attachment.
l The default section of the Web context, as an integral HTML file.
l Other files.
Note
To split the Print context into multiple attachments, or to attach multiple Web sections as separate
attachments, you need to create a Control Script that specifies parts; see "Control Script API" on
page 61 and "Control Scripts" on page 208.
See "Email attachments" on page 136.
Email output settings
The following settings in an Email context influence how the Email output is generated.
Compressing PDF attachments
For PDF attachments, generated from the Print context, you can set the Print Context Image
Compression to determine the quality of the files, and with that, the size of the files.
To set the Print Context Image Compression:
1.
On the Resources pane, expand the Contexts folder, and right-click the Email context.
2.
Click Properties.
3. Change the properties of the PDF file that will be attached when the Print context is
attached to the email.
Lossless is the maximum quality. Note that this will produce a larger PDF file. Uncheck
this option to be able to set a lower quality.
The quality is set in a percentage of the maximum quality.
Tile Size is the size of the files in which the image that is being compressed is divided. (If
the image height or width is not an even multiple of the tile size, partial tiles are used on
the edges.) Image data for each tile is individually compressed and can be individually
Page 129