# Class: SendEmailAction

## LiveView.AlertRule. SendEmailAction

#### new LiveView.AlertRule.SendEmailAction(settings)

  Action that will send an Email.

  Name | Type | Description
  --- | --- | ---
  `settings` | Object | optional An object containing initial values for the new SendEmailAction instance.
  Name | Type | Description
  --- | --- | ---
  `subject` | String | optional The email subject line.
  `body` | String | optional The email body content.
  `to` | Array | optional An array of recipient email addresses.
  `cc` | Array | optional An array of cc recipient email addresses.
  `bcc` | Array | optional An array of bcc recipient email addresses.

### Extends

- LiveView.AlertRule.Action

### Members

#### subjectString

  The email subject line.

#### bodyString

  The email body content.

#### toArray

  An array of recipient email addresses.

#### ccArray

  An array of cc recipient email addresses.

#### bccArray

  An array of bcc recipient email addresses.

#### enabledboolean

  Flag indicating whether or not the Action is enabled (i.e. currently being used to determine whether or not to fire alerts).