Output

The output for the activity is the following.

Output Item

Datatype

Description

from

string

The email address of the sender of the email.

to

string

The recipient list of the email.

cc

string

The cc (carbon copy) list of the email.

replyTo

string

The reply to list of the email.

subject

string

The subject of the email.

sentdate

string

The date the email was sent.

Fields available when the Upgrade Configuration field is checked

Headers

complex

This element contains the schema you defined on the Output Headers tab. You can specify custom headers that can be included in incoming mail messages.

You can specify any standard header supported by the javax.mail package. For example, X-Mailer or X-Priority. Values of headers in the incoming message populates the corresponding output headers of the same name that you have defined.

rawMessage

binary

The content of the message in binary form. This element is only available when the Provide Raw Message field on the Advanced tab is checked.

bodyText

string

The text of the email message. The Provide Raw Message field on the Advanced tab must be unchecked for this field to appear.

mimeEnvelopeElement

complex

This element contains the message attachments. This element contains a repeating element named mimePart that contains each mime attachment. The Provide Raw Message field on the Advanced tab must be unchecked for this field to appear.

mimeHeaders

complex

This element contains the mime header for each mimePart. Mime headers can contain the following information:

  • content-disposition

  • content-type

  • content-transfer-encoding

  • content-id

  • other mime header information

For more information about MIME headers and their syntax,see http://www.faqs.org/rfcs/rfc2045.html.

Note: When the content type is specified as "text/*" (for example, "text/xml"), the attachment content is expected to be in either the textContent output element or the file name storing the attachment is expected to be in the fileName output element. When the content type is anything other than "text/*", the attachment content is expected to be in either the binaryContent output element or the file name storing the attachment is expected to be in the fileName output element.

binaryContent | textContent | fileName

choice

This element contains the mime attachment. The element can be one of the following:

  • binaryContent — content of the attachment when the attachment is binary data.

  • textContent — content of the attachment when the attachment is text data.

  • fileName — the file name of the attachment when the attachment is stored in the file system (see Advanced tab for more information).

Fields available when the Upgrade Configuration field is unchecked

bodyText

string

The text of the email message.

attachmentNames

string

A list of names for each attachment to the message. These names are typically the file names of the attachments.

Note: The attachmentNames and attachmentData elements are corresponding lists. That is, for each item in the attachmentName element, there must be a corresponding item in the same position in the attachmentData list. For example, if there are three attachments, both elements must contain three items and item in the attachmentNames element corresponds to the element in the same position in the attachmentData list.

attachmentData

binary

A list of attachments to the message.

contentType

string

The MIME content type specified in the message.