GETEMAIL
![]() |
Retrieves the inbound email content from the file server and stores it as a structured variable. |
Supported Script Types
![]() |
Properties
- ContainerVar
- The name of the variable that contains all other variables. By default, "EML".
- SubjectVar
- The name of the variable that contains the subject of the email. By default "SUBJECT."
- 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 2K, but may be increased to 32K.
Branches
- Default
- The Default branch condition will be used unless a specific branch condition is met.
- OnError
- The Error branch condition is triggered if the email cannot be forwarded.
Tips and 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 GETEMAIL creates a C# class that can be invoked within a SNIPPET action.