Skip to Content

Plugin SMTPPlugin

Overview

This plugin allows an action to send an email to a set of email addresses.

Note

This Plugin can be used to attach any file type. The field pdfattachment is not limited to attaching just PDF files.

Fields in data object used by this plugin:

Field Name Required Updated by Plugin Description
body The body of the email. Either plain-text of html format.
cc Addresses to cc - should be comma seperated if multiple values are provided.
from From address of email. Will default to endpoint default from address if not provided.
pdfattachment A reference to a file in the file directory of Vinyl - See WritePDF plugin for details.
subject * Subject of email message.
to * Addresses for to field of email - should be comma seperated if multiple values are provided.
responseErrorCode * integer value - error code as set by mailkit library
responseStatusCode * integer value - error code based on smtp protocol
responseSent * bit value - true if sent, false if an error occurred
responseMessage * string - descriptive text of errors if they occur