Send Email
The Send Email action sends an email.
Properties
The Send Email action can be configured using the following properties:
- Message Tab
-
This tab contains the properties that allow you to specify the message content, sender and receiver.
- FROM Address
-
Specifies the FROM Address (sender address) of the email. The value can be specified in several ways using a Value Selector.
- TO Address
-
Specifies the TO Addresses (receiver addresses) of the email. At least one To Address must be specified and if there are more than one address these has to be separated by commas. The value can be specified in several ways using a Value Selector.
- CC Address
-
Specifies the CC Addresses (receiver addresses) of the email. These addresses are optional, but if more than one address is specified the addresses has to be separated by commas. The value can be specified in several ways using a Value Selector.
- Subject
-
Specifies the subject of the email. The value can be specified in several ways using a Value Selector.
- Message
-
Specifies the message body of the email. The value can be specified in several ways using a Value Selector.
- Message Type
-
Specifies the type of the message body, either text or HTML.
- Server Tab
-
This tab contains the properties that allow you to configure the mail server to use.
- Mail Server
-
Specifies the mail server to be used when sending the email. The value can be specified in several ways using a Value Selector.
- Port
-
Specifies the port number on the mail server to be used when sending the email. The appropriate port number is most often 25 when SSL is not used, and 465 when using SSL. The value can be specified in several ways using a Value Selector.
- User
-
Specifies the user name to be used for authentication when sending the email. If left empty, authentication is not done. The value can be specified in several ways using a Value Selector.
- Password
-
Specifies the password to be used for authentication when sending the email. The value can be specified in several ways using a Value Selector.
- Encryption
-
Specifies if encryption should be used.
- NONE: Credentials and email are sent in clear text.
- TLS: TLS encryption is used. After connection the STARTTLS command is used to upgrade the communication channel to TLS. This only works if the SMTP server has a trusted certificate (if the server uses a self-signed certificate it must be exported and imported into the JVM's truststore using the keytool utility)
- SMTPS: SMTP over SSL. A secure channel of communication is established, over which the credentials and email is sent. This is rarely supported by SMTP servers, but will work even if the servers certificate is self-signed.
- Attachment Tab
-
This tab contains the properties that allow you to add an attachment to the e-mail.
- Include Attachment
-
To add an attachment to the message, check this option.
- Content
-
The content of the attachment to include. The value can be specified in several ways using a Value Selector.
- Content Type
-
Specifies the type of the attachment. If you select "Automatic", the type will be determined from the extension of the given file name.
- File Name
-
Specifies the type of the attachment. If you do not specify one, a default name will be generated.