Skip to main content
Kinetic Community

SMTP Email Send

This handler builds and sends a plaintext or HTML encoded email directly to the specified email server specified by the associated task info values.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

smtp_email_send_v1.zip.  

*NOTE* - This handler was updated 2014/01/17 to allow multiple email addresses (comma separated) in the To field.  The version did not change because none of the input parameters changed and will be completely compatible with exiting nodes that use this handler.

 

Detailed Description

This handler builds and sends a plaintext or HTML encoded email directly to the
specified email server specified by the associated task info values.
 
IMPORTANT:  To use this handler you must remove the mail.jar file from the
kineticTask application.  The mail.jar file is stored in the following directory
kineticTask/WEB-INF/lib.  This will require you to restart your web server as
well.  This is necessary because mail.jar is an unused jar file and it creates a
conflict with a library used by this handler.  This step will not be necessary
with versions of Kinetic Task 1.0.3 or later because mail.jar will no longer be
distributed with the application.
 
For more information, see the Detailed Description section below.
 
When an HTML body is set, the handler will replace images that have a fully
qualified source that is prefixed with the string 'cid:' with embedded images.
This includes the image files directly into the email rather than requiring the
email client to load them from the Internet.

Parameters

Name Description
To
  A comma separated list of email address to be used as the intended recipients.
  Custom names can be used if any of the addresses are provided in the format:
  NAME <ADDRESS
CC
  A comma separated list of email address to be used as the intended CC
  recipients. Custom names can be used if any of the addresses are provided in
  the format: NAME <ADDRESS>
BCC
  A comma separated list of email address to be used as the intended BCC
  recipients. Custom names can be used if any of the addresses are provided in
  the format: NAME <ADDRESS>
Display Name (From)
  The value to be used for the Name of the sender (the email address of the
  sender can not be manually set).
Reply To
  The address of the account that email replies should be sent to.  A custom
  name can be used if the address is provided in the format: NAME <ADDRESS>
Subject The subject of the email
HTML Body
  HTML representing the body of the email (should start with '<html>' and end
  with '</html>').
Alternate Body (Text)
  A plaintext message that will be displayed if the recipient can't display
  multipart HTML emails.

Sample Configuration

Parameter Example Configuration
To <%=@answer['Req Full Name']%> <<%=@answer['Req Email']%>>
CC <%=@results['Retrieve Requester Manager']['Email']%>,
BCC  
Display Name (From) <%=@template['Name']%>
Reply To
<%=@results['Retrieve Fulfiller']['Name']%> <<%=@results['Retrieve Fulfiller']['Email']%>>
Subject Your request is being processed.
HTML Body
<html>
    Your ...<br/>
    Thanks,<br/>
    <%=@results['Retrieve Fulfiller']['Name']%><br/>
  </html>
Alternate Body

Your.....

?Thanks

<%=@results['Retrieve Fulfiller']['Name']%>

   

Results

Name Description
Message Id The message Id of the sent email

Change Log

Version Date Description
v1 Jan 2017 Updated CID code
V1 2011-02-03 Initial Version