Mail module is used to automatically compose and send email. It is an easy-to-manage alternative to $Messages.
Mail module comes with an interface for composing mail and specifying recipients.
To
Specify the XML nodes where To information will be fetched from.
XPath
Xpath of the container node(s) that contains information of To recipient(s). Optional.
If not specified address and displ
Address
Free text field for To address. Use double brace expression to get data from To XPath.
Display Name
Free text field for To display name. Use double brace expression to get data from To XPath.
Cc
Specify the XML nodes where Cc information will be fetched from.
XPath
Xpath of the container node(s) that contains information of Cc recipient(s). Optional.
Address
Free text field for Cc address. Use double brace expression to get data from Cc XPath.
Display Name
Free text field for Cc display name. Use double brace expression to get data from Cc XPath.
Bcc
Specify the XML nodes where Bcc information will be fetched from.
XPath
Xpath of the container node(s) that contains information of Bcc recipient(s). Optional.
Address
Free text field for Bcc address. Use double brace expression to get data from Bcc XPath.
Display Name
Free text field for Bcc display name. Use double brace expression to get data from Bcc XPath.
Other Mail Content
You can define the subject, body, and attachments of the mail.
Subject
Free text field for the mail subject.
Use double brace expression to include data from the XML, for example "Re: {{Subject}}" without the quotation marks.
Body
Free text area for the mail body.
Use double brace expression to include data from the XML.
Attachments XPath
XPath of the container node and its specific attachment nodes.
For example if you have Attachments container with children File nodes containing the file Ids, then your Attachments XPath should be Attachments/File.