Single Email

Sends a single email using the SMTP server details specified in Connection.

Revision History

1.0.0.9 Added functionality to add multiple attachments. See remarks.

Properties

Connection

Type: Connection Input
Provides a connection that identifies an SMTP server and credentials.

Server
Type: String
Indicates the name or IP address of the server. If the Node is routed through a DropPoint, the Server must be accessible to the DropPoint otherwise it must be Internet-accessible.

Port
Type: Int32
The port to use for SMTP. If omitted, the default SMTP port 25 will be used.

Username
Type: String
Indicates the username with which to authenticate the SMTP session. Generally, an SMTP server will require credentials in order to relay email.

Password
Type: Password
Indicates the password with which to authenticate the SMTP session.

UseSsl
Type: Boolean
Indicates whether an encrypted (SSL) session should be established. Encrypted sessions generally use port 465.

Sender

Type: String Input
Contains the email address of the sender to be used for the message.

Recipients

Type: String Input
Contains a comma-separated list of recipients for the message.

Subject

Type: String Input
Contains the subject for the message.

Body

Type: Multiline Text Input
Contains the message body. This body may be HTML, XML or text. See Remarks for further information.

HtmlBody

Type: Boolean Input
Indicates whether the body is HTML.

BodyProcessor

Type: Boolean Input
Indicates how the value in Body should be processed.

None - No additional processing will be performed
XmlToHtmlTable - Indicates that Body contains an XML document that should be flattened to an HTML table.

AttachmentName

Type: String Input
Provides the name for one attachment.

Attachment

Type: Multiline Text Input
Provides a content input for one attachment.

Remarks

Use this Node if you wish to send emails using your own SMTP server. Unlike Email Alert, Single Email allows the sender address to be specified, does not insert tracking information into the HTML body and is not subject to quota limitations.

Using BodyProcessor set to XmlToHtmlTable is a shorthand way to convert an XML document connected to Body into an HTML table.

Multiple Attachments:

To add multiple attachments, custom properties need to be added for each attachment name and value starting with Attachment / AttachmentName followed by a number. eg.

Attachment1: content for attachment1

AttachmentName1: attachment1.txt

Attachment2: content for attachment 2

AttachmentName2: attachment2.txt

Gmail

To set up a connection to send emails from Gmail, you need to create an app password (https://support.google.com/mail/answer/185833).

Add these details to the connection:
Server: smtp.gmail.com
Port: 25
Username: youremail@gmail.com
Password: 16 character generated app password

Example

Sample Workflow

See Also

Email Alert