Send Email

This block sends email to a valid recipient.

Properties

Values

Description

From

String

Email address of the sender.

Recipient

String

Email address of recipient(s). Multiple addresses separated by a semicolon (;).

CC

String

Email address of carbon copy recipient(s). Multiple addresses separated by a semicolon (;).

BCC

String

Email address of blind carbon copy recipient(s). Multiple addresses separated by a semicolon (;).

Subject

String

Subject of the email message.

Body Format

Html or Plain text

Determines the format of the body of the email message. The default value is Html.

Body

String

Body of the email message, in valid HTML format, unless the Body Format value is plain text.

To embed variables into this property, surround the variable's name with percent (%) characters. To display a percent character in the body, use two percent characters together (%%).

For example, if you have a variable called average, use a string like this:

The class average for the last test was %average% %%.

The email body will then contain something like:

The class average for the last test was 85%.

See How to use variables.

Attachment(s)

String

Filename(s) of attachment(s) to include. Multiple attachments separated by a semicolon (;).

The default directory is the same as that for the Record block, so for Voicemail the name of the file must match the name set in the Record block. If a specified path is used in the Record block, then the same path must be used in the attachment field of the SendEmail block.

Send On Error

Yes or No

If set to Yes the email is sent even if an attachment fails. If set to No the email is not sent if an attachment fails.

Result

String

Enter a variable name to hold the return result of the send email. The value is

  • 0 if successful
  • 1 if an attachment failed to be loaded
  • 2 if the send email failed
  • 3 for an unknown error

Minimum File Size

Number

If set, the email is not sent unless the attachment file size is equal or greater than this value. This value is in bytes.

Note

For CCaaS wav files, 1 second equals 16000 bytes ex. Setting this field to 40000 would cause emails with attached .wav files that are 2.5 seconds or less not to be sent.