The ISendEmailAction type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
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:

CopyC#
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:

CopyC#
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:

CopyC#
mySendMailAction.To.Add("myrecipient@mydomain.com");

See Also