Send e-mail
Sends an e-mail message.
note
If a mail server returns the SMTP error "530 5.7.0 Must issue a STARTTLS command first", the activity will renegotiate the connection using STARTTLS and retry the send operation if StartTLSOption Retry
was specified.
Impact on Adapterflow data stream: No
In parameters
Activity
Name | Type | Description |
---|---|---|
Enabled | BoolValue | Specifies whether the activity is to be enabled or not. Only enabled activities are executed and validated. |
Description | StringValue | Description of the activity. |
Name | StringValue | Name of the activity. The name has to be unique in the workflow. The name is used as identifier of the activity in activity binding. |
Mail properties
Name | Type | Description |
---|---|---|
Data destination | MailStreamDestination | The destination of the input data for the mail message. If this parameter is set to Mailbody, you must specify the codepage of the data. Bindable |
Attachments | ActivityComplexValue of FilePathValue | The attachments of the e-mail. If there are multiple files, the must be separated with ; (semicolon). Bindable |
Body text | ActivityComplexValue of StringValue | The body text to be placed in the message. Bindable |
Subject | ActivityComplexValue of StringValue | The subject of the message. Bindable |
Data codepage | CodePageIDValue | The codepage of the indata. |
SMTP server
Name | Type | Description |
---|---|---|
Username | StringValue | The username for login on the SMTP-server. |
Server | StringValue | The outgoing SMTP-server. Can be either:
For more information, see Well-known mail servers. Bindable |
Port | IntegerValue | The SMTP-port number. Bindable |
Password | PasswordValue | The password for login on the SMTP-server. Bindable |
StartTLS option | StartTlsOption | Specifies how the StartTLS command will be used. When set to 'Retry', the StartTLS command will only be used if the initial connection fails. Bindable |
SSL/TLS version | SslVersions | SSL/TLS version to be used. More than one option can be selected. Default is TLS 1.3, TLS 1.2. For more information, see General information about SSL and TLS. Bindable |
Addresses
Name | Type | Description |
---|---|---|
To | ActivityComplexValue of StringValue | The e-mail address of the recipient of the message. If there are multiple addresses, they are to be separated by ; (semicolon). Bindable |
From | ActivityComplexValue of StringValue | The e-mail address of the sender of the message. Bindable |
Out parameters
Standard
Name | Type | Description |
---|---|---|
Body text Out | StringValue | The body text sent in the message. Note: This parameter only contains the value from the parameter Body text above. If the parameter Data destination is set to Mailbody, this property will be empty. |
Subject Out | StringValue | The subject of the message sent. |
Attachments Out | StringValue | The attachments, separated with semicolon, of the message sent. |