2020.2

Table Of Contents
For a description of how to test your email for different email clients, see this how-to: Test your
emails with Litmus.
To generate Email output :
1. Open a template with an Email context.
2. Load a data file or database compatible with this template. See "Loading data" on
page332.
3.
On the File menu, click Send Email or Send Test Email. In the dialog that appears you
can, among other things, attach the Print context or the Web context to the email. See
"Send (Test) Email" on page516 for a description of all the options. Finally, click OK.
Note
When you send a test email, the Email To Script will not be used; instead, the email
will be sent to the address that you specify in the Send Test Email dialog. If you
have a Litmus account, you can enter your Litmus test address. To make the test
address appear by default, you can set the default test address in the Email
Preferences: select Window > Preferences, click the arrow next to Email, click
General and type the test address next to Email Test address.
See also: "Testing Email output" on the previous page.
Tip
For a detailed description of how to use Mandrill with Connect to send and track emails,
see the following how-to: Using Mandrill.
Aborting content creation
You may want the content creation process to be aborted in certain situations; for example,
when a template script fails to load remote content. To abort the content creation process, you
may raise a fatal error from within a script in the template; see "fatalError(message)" on
page784.
Page 976