Sendemail

This help page is for Desktop Studio. This information is also available for CXone Studio.

Takes all of the pieces of the structured variable and then builds and sends the email.

Dependencies

  • Sendemail is the final step to sending an email created with a Createemail action.
  • If a piece was not created, for example, the Addfromaddr action was not included, no From address will be included in the sent email.

Supported Script Types

The icon for the Email script type - a large @ symbol in a diamond.

Email

Input Properties

These properties define data that the action uses when executing.

Property

Description

Caption

Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. The default is the action name.

ContainerVar

The name of the structured variable that contains all other variables. By default, EML.

Persist

Determines whether the system creates a file containing the contents of the sent email and saves it in a variable. The file is a raw file in MIME format similar to the raw email saved with the Logemail action. It's saved in the variable specified by FilenameVar. Set to True to enable the action to save the file.

FilenameVar

The name of the variable of the raw email file. By default, EMLFILE.

Result Branch Conditions

Result branch conditions allow you to create branches in your script to handle different outcomes when an action executes.

Condition

Description

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 action's other branches are not defined.

Error

Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem.