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

NameDescription
ToA 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>
CCA 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>
BCCA 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 ToThe 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 <ADDRESS>
SubjectThe subject of the email.
HTML BodyHTML 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.
Attachment File NameThe name of the file that will be attached to this email message.
Attachment File ContentThe content of the file that will be attached to this email message.
Attachment EncodingThis parameter specifies whether the attachment content is Base64 encoded.

Sample Configuration

NameDescription
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']%>>
SubjectYour request is being processed.
HTML Body<html>
Alternate Body (Text)Your.....
Attachment File Name<%=@results['Retrieve Attachment']['Name']%>
Attachment File Content<%=@results['Retrieve Attachment']['Content']%>
Attachment EncodingBase64
BCC

Results

NameSample Result
Message Id

Changelog

SMTP Email With Attachment Send V1 (2011-05-24)

*Initial Build