Skip to content

Mail Module

The Mail Module facilitates the automated composition and sending of emails, providing a user-friendly alternative to the $Messages scripting object. The module offers an intuitive interface for email creation and recipient specification.

Subject: A free-text field for the email subject. Data templates can be used to incorporate data from the data model. Example: Re: {{Subject}}

Body: A free-text area for the email body. Data templates can be used to include data from the data model. Example: Hi {{Name}},

To Recipients

Specify the XML nodes from which "To" recipient information will be retrieved.

XPath: (Optional) The XPath expression identifying the container node(s) containing "To" recipient information. If unspecified, the Address and Display Name fields are used directly.

Address: A free-text field for the "To" email address. Use double-brace expressions ({{...}}) to retrieve data from the "To" XPath.

Display Name: A free-text field for the "To" display name. Use double-brace expressions ({{...}}) to retrieve data from the "To" XPath.

CC Recipients

Specify the XML nodes from which CC recipient information will be retrieved.

XPath: (Optional) The XPath expression identifying the container node(s) containing CC recipient information.

Address: A free-text field for the CC email address. Use double-brace expressions ({{...}}) to retrieve data from the CC XPath.

Name: A free-text field for the CC display name. Use double-brace expressions ({{...}}) to retrieve data from the CC XPath.

BCC Recipients

Specify the XML nodes from which BCC recipient information will be retrieved.

XPath: (Optional) The XPath expression identifying the container node(s) containing BCC recipient information.

Address: A free-text field for the BCC email address. Use double-brace expressions ({{...}}) to retrieve data from the BCC XPath.

Name: A free-text field for the BCC display name. Use double-brace expressions ({{...}}) to retrieve data from the BCC XPath.

Attachments

XPath: The XPath expression specifying the container node and its child attachment nodes. For instance, if attachments are stored in a container named Attachments with child nodes named File containing file IDs, the XPath would be Attachments/File.