Email

Label: :IA_Function
Property: type: Email
Inherits from: Function

The Email Function sends an email to the given recipients. Requires mail server to be configured in the config.json.

Parameters

Key Description Default value Possible values
message Message of the email '' string
subject Subject of the email '' string
to Recipient(s) for the email Administrator email address Comma separated list or an array of recipients email addresses
cc CC(s) for the email '' Comma separated list or an array of recipients email addresses
bcc BCC(s) for the email '' Comma separated list or an array of recipients email addresses
attachments * List of files to be sent as attachments to the email. Specifications here null Array of objects

* Sending files from the server is not permitted (ex: path: '/path/to/local/file').

Outgoing triggers

Type: success

Occurrence: when email was sent succesfully