Modeling Guide

Send Email

The Send Email operator is used to send emails.

This operator is used to send emails.

Configuration Parameters

Configuration Parameters
Parameter Type Description
Delete attachments after sending bool A flag that controls whether the files attached to the email should be deleted after sending or not.

Default: false

Default From value string The value of email.from which will be used when none is received through the incoming message.

Default: ""

Default To value []string The value of email.to which will be used when none is received through the incoming message.

Default: []

Default Subject value string The value of email.subject which will be used when none is received through the incoming message.

Default: ""

Connection Parameters
Parameter Type Description
connection object Holds information about connection information for the services.
configurationType string Which type of connection information will be used: Manual (user input), or retrieved by the Connection Management Service

Default: ""

connectionID string The ID of the connection information to retrieve from the Connection Management Service.

Default: ""

connectionProperties object All the connection properties for manual input:
SMTP Server (type string)
Mandatory. Address of the server used to authenticate.
Default: "smtp.example.com"
SMTP Port (type integer)
The SMTP port number used by the Email Server.
Default: 25
User (type string)
Mandatory. User email used for authentication.
Default: "email@example.com"
Password (type string)
Mandatory. User password used for authentication.
Default: "123456"

Input

Input

Type

Description

in

message

A message whose attributes will be used to fill the email information and whose body will be used as the email body. In case there are multiple entries for a same header, they can be separated by a comma.

Message Attributes
email.to (type []string)
Mandatory. The recipient of the email.
email.from (type string)
Mandatory. The sender of the email.
email.subject (type string)
Mandatory. The subject of the email.
email.cc (type []string)
The CC's of the email.
email.attachments (type []string)
The attachments of the email.

Output

Output

Type

Description

out

string

A string containing a list of all the recipients that received the email, separated by semicolon(';').

Limitations

  • The following characters cannot appear in message header names: <>${}.

Basic Usage

If attachments were to be included, the attribute "email.attachments" should be used.

Security

The Send Email operator can automatically detect if the SMTP server uses TLS.