Getemail

Retrieves the inbound email content from the file server and stores it as a structured variable.

Supported Script Types

Email

Properties

Property Details
ContainerVar The name of the structured variable that contains all other variables. EML is the default name.
SubjectVar The subject of the email. If a subject is not entered, the email will not be sent.
FromVar The name of the variable that contains the from address of the email.
ToVar The name of the variable that contains the to address of the email.
CCVar The name of the variable that contains the list of cc'd recipients on the email.
DateVar The name of the variable that contains the date of the email.
BodyTextVar The name of the variable that contains the body text of the email.
AttachmentListVar The name of the variable that contains the list of file attachments.
MaxBodyTextLength A picklist of the maximum length of the BodyTextVar string. By default, it is 2,000, but may be increased to 32,000.

Branches

Branch Details

Default

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the other branches are not defined.

OnError

Path taken when the action fails to execute properly.

Tips & Tricks

  • The structured variable can be referenced anywhere regular variables can be referenced.
  • The Getemail action allows you to name the variables that contain the pieces of the email. For example, if you name the BodyTextVar variable "body", you can use {body} anywhere curly braces are supported. This is especially useful in generating automatic responses.
  • Technically, the Getemailcreates a C# class that can be invoked within a Snippetaction.
  • Using a pipe delimiter ( | ) in an email subject line will cause the subject to be split (into an array), obligating you to piece the subject line back together.