Sending Attachments - With Send Mail Action

Sending Attachments with the emails. Contineo supports sending attachments with the Send Mail action. The attachments field in the email message must contain an array of file paths for the attachments.

Example:
The following sample JavaScript action sends an email with attachments.


Steps:

  1. Create a JavaScript Action as per the flow.

  2. Navigate to Properties > Script in the newly created JavaScript action and open the editor.

  3. Write the JavaScript code to send an email with an attachment. Create a JSON map as a message, which is passed to the Send Mail action for execution.

  4. Click OK.

  5. Click SAVE to save the configuration.