SMTP Email With Attachment Send Version 2

This handler: smtpemailwithattachmentsend works with this handler: kineticrequestattachment_retrieve

The use of these two Handlers in a Task tree will allow you to retrieve an Attachment submitted from a Service Item and then email that Attachment file.

The kineticrequestattachment_retrieve handler has two fields to populate:

Content Type Attachment Question Menu Label

The Content Type field is a drop down with two options:

Plain Base64

Select Plain if the attachment file is a simple .txt file. Select Base64 for all other file types (.xls, .pdf, .zip). The smtpemailwithattachmentsend handler has the following new field: Attachment Encoding

The Attachment Encoding field is a drop down with two options: Plain Base64

Select Plain if the attachment file is a simple .txt file. Select Base64 for all other file types (.xls, .pdf, .zip). NOTE - This must match the value that you entered you entered into the Content Type field on the kineticrequestattachment_retrieve handler.

You would also enter the Results values (from the kineticrequestattachment_retrieve handler) into the following fields:

Attachment File Name: Attachment File Content:

NOTE: Image files are not yet supported.

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
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
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
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. The email address of the A custom name can be used if the address is provided in the format: NAME
Subject The subject of the email.
HTML Body HTML representing the body of the email (should start with '' and end with '').
Alternate Body (Text) A plaintext message that will be displayed if the recipient can't display multipart HTML emails.
Attachment File Name The name of the file that will be attached to this email message.
Attachment File Content The content of the file that will be attached to this email message.
Attachment Encoding This parameter specifies whether the attachment content is Base64 encoded.

Sample Configuration

Name Description
To <%=@answer['Req Full Name']%> <<%=@answer['Req Email']%>>
CC <%=@results['Retrieve Requester Manager']['Email']%>
Display Name (From) <%=@template['Name']%>
Reply To <%=@results['Retrieve Fulfiller']['Name']%> <<%=@results['Retrieve Fulfiller']['Email']%>>
Subject Your request is being processed.
HTML Body
Alternate Body (Text) Your.....
Attachment File Name <%=@results['Retrieve Attachment']['Name']%>
Attachment File Content <%=@results['Retrieve Attachment']['Content']%>
Attachment Encoding Base64
BCC

Results

Name Description
Message Id

Changelog

== SMTP Email With Attachment Send v2

*Added Content Type to support the ability to send

attachments from Questions/Answers

== SMTP Email With Attachment Send v1 (2011-05-24)

*Initial Build


Related Handlers

SMTP Email Attachment From Url Send
This handler builds and sends a plaintext or HTML encoded email (with an optional attachment) directly to the specified email server specified by the associated task info values.
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.
SMTP Email With Meeting Request Invite Send
Creats an ICS calendar event and sends the file via email to a list of recipients

Looking for a workflow engine?

Learn more about the Kinetic Data Enterprise Workflow Platform Check it out Caret right circle