The ISendEmailAction type exposes the following properties.
Properties
| Member | Description | |
|---|---|---|
| ActionType |
The type of action that will be taken when the alert fires.
(Inherited from IAlertRuleAction.) | |
| Bcc |
The list of blind carbon copy recipients of the email. This returns the live list, so any modifications
take action immediately. The property can be used like this:
mySendMailAction.Bcc.Add("myrecipient@mydomain.com"); | |
| Body |
Body of the email to send.
| |
| Cc |
The list of carbon copy recipients of the email. This returns the live list, so any modifications
take action immediately. The property can be used like this:
mySendMailAction.Cc.Add("myrecipient@mydomain.com"); | |
| Description |
The description text for this alert rule.
(Inherited from IAlertRuleAction.) | |
| IsEnabled |
Whether this action is currently enabled.
(Inherited from IAlertRuleAction.) | |
| Subject |
Subject of the email to send.
| |
| To |
The list of recipients of the email. This returns the live list, so any modifications
take action immediately. The property can be used like this:
mySendMailAction.To.Add("myrecipient@mydomain.com"); |