Send E-mail

With this node you can send an e-mail.

It has the following configuration options:

  • From: here you can enter the email address of the sender.
  • To: here you can enter the email addresses of the recipients. Select + to add a recipient.
  • CC: here you can enter the email addresses of the recipients in CC. Select + to add a recipient.
  • BCC: here you can enter the email addresses of the recipients in BCC. Select + to add a recipient.
  • Mail Data Source: here you can specify whether the body and subject data are specified in the parameters of this node, or if they are coming from a template. Options:
    • From Parameters: if you select this option, the subject and body can be specified in the node.
      • Subject: here you can enter the subject line. Select the pencil to open Expression Builder.
      • Body: here you can specify the e-mail body. Depending on the Mail Body Type parameter, this can be:
        • As is (when the Body Type is not template based): in this case, the specified text is used for the body without any additional processing. Select the pencil to open Expression Builder.
        • A template (when the Body Type is template based): in this case, the specified text is used as input for template processing. All sections starting with ${ and ending with } will be searched and replaced by contents of the workable, jacket etc. The following replacements will be performed, depending on the begin of the string after ${
          • variable: this will look up a variable that has the same name as the remaining part. For example ${variable.test} will be replaced by the value of a variable called test.
          Select the pencil to open Expression Builder.
    • From Template: if you select this option, the subject and body from a specified template will be used.
      • Template Name: here you can enter the name of the template that needs to be used for the subject and the body. This name will be used in combination with a language to select the template.
      • Template Language From User: if you leave this checkbox unselected, the language to be used to select the correct template is specified by the Template Language parameter. If you select this checkbox, the language of the user will be used. By default the language specified in the Template Language will be used if no template can be found that has the specified name and the language of the user.
      • Template Language: here you can specify the expected language for the template. This parameter will be used in combination with the Template Name parameter to locate the actual template. If no match is found with the specified name and language, the language english will be used. If not found, the first template with the specified name will be used, ignoring the language.
  • Mail body type: here you can enter the system to be used in the Body parameter. Options:
    • Plain: if you select this option, the body text will be used as is to send a plain text e-mail.
    • HTML: if you select this option, the body text will be used as is to send an HTML e-mail.
    • Plain+Template: if you select this option, the body text will be used after template processing to send a plain text e-mail.
    • HTML+Template: if you select this option, the body text will be used after template processing to send an HTML e-mail.

    When using template mode, the following parameters can be used:

    • ${variable.<name>}: this will be replaced by the value of the variable name.

    If you want to reference on of the previews that you might have specified, you could for example use <img src='cid:preview-1'> to reference the first preview, <img src='cid:preview-2'> to reference the second preview...

  • Attachments: here you can enter the files to attach. Leave this parameter empty if you do not want to attach any files.
  • Previews: here you can specify the files that can be used to add previews in the HTML mail body. If you do not want to add previews you can set this to an empty array or empty string.
  • Number of retries: here you can specify the number of times the node should retry to send. 0 means no retries. The system will only attempt to retry when the server could not be reached. All other cases (for example wrong authentication) will not trigger a retry.
  • Time to wait between retries: here you can specify how long the node should wait before retrying.