Send Mail
Description
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.
Assembly: iCore.Workflow.Activites
Category: Misc
Arguments
Name | Type | Description |
---|---|---|
Attachments | IEnumerable<Attachment> | The files to attach. |
Subject | String | The subject of the message. |
MailBody | String | The body text to be placed in the message. |
Server | String | The SMTP server to use for sending the mail. Can be either:
For more information, see Well-known mail servers. |
Port | Int32 | The SMTP server port. Default: 25. |
Username | String | The user name used to log-in on to the server. |
Password | String | The password used to log-in on to the server. |
To | String | The e-mail address of the recipient of the message. If there are multiple addresses, they are to be separated by ; (semicolon). |
From | String | The e-mail address of the sender of the message. |
Cc | String | The e-mail address of the CC recipient of the message. If there are multiple addresses, they are to be separated by ";" (semicolon). |
Bcc | String | The e-mail address of the BCC recipient of the message. If there are multiple addresses, they are to be separated by ";" (semicolon). |
Envelope Id | String | The Envelope Id to be included in the return message header. |
Notify | DSNOptions | The Delivery Status Notification requested for the message. |
Segment | DSNSegment | The Delivery Status Notification segment to return. |
StartTlsOption | StartTlsOption | Specifies how Start TLS will be used. |
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. |