Email Alert
Permits notification emails to be sent to one or more recipients. Emails sent via this Node appear from alert@flowgear.net and tracking information is appended to the message body.
1.0.2.4 - Added errors when attachment specified without attachment name or vice versa.
1.0.2.5 - Cleaned up the HTML of the emails.
1.0.2.7 - Changed internal authentication. Fixed Workflow and Site links
1.0.2.8 - Added functionality to add multiple attachments. See remarks.
1.0.3.0 - Added rate limiting to the Node.
1.0.3.1 - Fixed a bug on rate limiting
1.0.4.2 - Updated Node for new platform. The link at the bottom of the email now points to the activity log where the email was sent.
Properties
Recipients
Type: String
The email address(es) of the message's recipient(s). Multiple email addresses should be separated by a semi colon e.g. someone@flowgear.net; someone2@flowgear.net
.
Subject
Type: String
The email subject.
Body
Type: Multiline Text
The email body, may be plain text or HTML.
HtmlBody
Type: Boolean
Indicates whether the Body property contains text or HTML.
PreparedBody
Description: The PreparedBody Property
Direction: Output
Type: Multiline Text
BodyProcessor
Type: List
Indicates how the content in the Body Property should be processed
None - Process the body as normal text based on the HtmlBody property.
XmlToHtmlTable - Treats the content of the Body property as an XML document and renders it to an HTML table.
AttachmentName
Type: String
The name of the file attachment if the Attachment Property contains an attachment.
Attachment
Type: Multiline Text
The content of an attachment. Content can be a byte array or string.
Remarks
Use this Node to send notification and/or logging emails. The sender address is fixed as Flowgear Alert <alert@flowgear.net>. Tracking information appended to the email enables the recipient to identify the Site and Workflow that was responsible for sending the email.
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
Example
See Sample Workflow for an example.