SENDEMAIL

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

Supported Script Types

Email

Properties

ContainerVar
The name of the structured variable that contains all other variables. By default, "EML."
Persist
True/False. True tells the system to create a file containing the contents of the sent email (it is a raw file in MIME format similar to the raw email saved with the LOGEMAIL action). The file name is saved in the variable specified by FilenameVar.
FilenameVar
The name of the variable of the raw email file. By default, "EMLFILE."

Branches

Default
The Default branch condition will be used unless a specific branch condition is met.
OnError

This branch condition will be triggered if:

  • There is a quota set for maximum outgoing emails per period of time, and this quota is exceeded. The default is 2000 emails per rolling two hour period. This can be overridden by NICE inContact personnel.
  • An error will occur if the ContainerVar is not an email variable.
  • Any other errors come from the file server in response to sending the email over the network.

All errors create a variable called _ERR with the description of the error.

Tips and Tricks

  • 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.