2021.1

Table Of Contents
JSON Email Parameters (with Runtime Parameters)
Describes runtime parameters and parameters used specifically in an content creation
operation for email.
This structure is variable, allowing specification for email output to either the File Store or
directly to a SMTP mail server, with a number of additional parameters.
Structure
A subset of the runtime parameters defined in the template can be passed in the following
object:
l parameters a set of runtime parameter names and their corresponding values,
consisting of an object with one or more name/value pairs:
l <name> the name (name) and the value of the runtime parameter
(type of either string, number, or boolean)
For either email output directly to a SMTP mail server or email output to the file store, the
following optional name/value pairs can be specified:
l attachPdfPage parameter to specify if a PDF file of the Print context should also be
created and attached to the email output (type of boolean)
l attachWebPage parameter to specify if HTML files of the enabled sections (a single
section by default) in the Web context should also be created and attached to the email
output (type of boolean)
Specific to email output directly to a SMTP mail server, an additional name/value pair is
required:
l host the network address or name of the SMTP mail server through which emails will
be sent. If required, a server port value can also be specified (type of string)
Specific to email output directly to a SMTP mail server, an optional name/value pair can be
specified:
l useAuth parameter to specify if authentication is to be used with the mail server (type of
boolean)
Page 61