2022.1

Table Of Contents
Note
By default, the Subject script targets one email section specifically. You can see this
when you double-click the script on the Scripts pane. The selector of the Subject script
contains the name of a particular email section, for example: html.HTML_EMAIL
[section="Content"] (in this case, Content is the name of the email section). If you remove
the [section=...] part from the selector, the script will work for all email sections.
Subject scripts made with versions of the software prior to version 1.7 are not specific to
one email section.
Writing a custom Subject script
The default script replaces all @field@ placeholders in the subject line with field values. This
script can be modified, for example to create a subject that depends on the value of a data field.
Open the Script Wizard (see "The Email Script Wizard" on page563), click the Expand button
and modify the script.
If you don't know how to write a script, see "Writing your own scripts" on page918 first.
Note
A Subject script created by clicking Subject in the Email Fields always targets one email
section specifically, for example: html[section="Content"] (in this case, Content is the
name of the email section). Remove the [section=...] part from the selector of the script
to make the script work for all email sections.
Recipients: To, CC and BCC
To specify recipients for Email output, you can simply drag and drop a data field that contains
an email address into the To field at the top of the workspace. A new script, named To, will be
added to the Scripts pane.
Note that you can add only one data field to the email field this way. When you drag another
data field into the email field the existing script will be replaced..
Email addresses can be added to the Cc and Bcc fields in the same manner, but it is also
possible to type an email address directly in the Cc or Bcc field (as long as no script is present
for that field). Multiple email addresses should be separated by a semicolon.
Page 566