Class RuleActions
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents the set of actions available for a rule.
public sealed class RuleActions : ComplexProperty
- Inheritance
-
RuleActions
- Inherited Members
Properties
AssignCategories
Gets the categories that should be stamped on incoming messages. To disable stamping incoming messages with categories, set AssignCategories to null.
public StringList AssignCategories { get; }
Property Value
CopyToFolder
Gets or sets the Id of the folder incoming messages should be copied to. To disable copying incoming messages to a folder, set CopyToFolder to null.
public FolderId CopyToFolder { get; set; }
Property Value
Delete
Gets or sets a value indicating whether incoming messages should be automatically moved to the Deleted Items folder.
public bool Delete { get; set; }
Property Value
ForwardAsAttachmentToRecipients
Gets the e-mail addresses to which incoming messages should be forwarded as attachments. To disable forwarding incoming messages as attachments, empty the ForwardAsAttachmentToRecipients list.
public EmailAddressCollection ForwardAsAttachmentToRecipients { get; }
Property Value
ForwardToRecipients
Gets the e-mail addresses to which incoming messages should be forwarded. To disable forwarding incoming messages, empty the ForwardToRecipients list.
public EmailAddressCollection ForwardToRecipients { get; }
Property Value
MarkAsRead
Gets or sets a value indicating whether incoming messages should be marked as read.
public bool MarkAsRead { get; set; }
Property Value
MarkImportance
Gets or sets the importance that should be stamped on incoming messages. To disable the stamping of incoming messages with an importance, set MarkImportance to null.
public Importance? MarkImportance { get; set; }
Property Value
MoveToFolder
Gets or sets the Id of the folder to which incoming messages should be moved. To disable the moving of incoming messages to a folder, set CopyToFolder to null.
public FolderId MoveToFolder { get; set; }
Property Value
PermanentDelete
Gets or sets a value indicating whether incoming messages should be permanently deleted. When a message is permanently deleted, it is never saved into the recipient's mailbox. To delete a message after it has been saved into the recipient's mailbox, use the Delete action.
public bool PermanentDelete { get; set; }
Property Value
RedirectToRecipients
Gets the e-mail addresses to which incoming messages should be redirecteded. To disable redirection of incoming messages, empty the RedirectToRecipients list. Unlike forwarded mail, redirected mail maintains the original sender and recipients.
public EmailAddressCollection RedirectToRecipients { get; }
Property Value
SendSMSAlertToRecipients
Gets the phone numbers to which an SMS alert should be sent. To disable sending SMS alerts for incoming messages, empty the SendSMSAlertToRecipients list.
public Collection<MobilePhone> SendSMSAlertToRecipients { get; }
Property Value
ServerReplyWithMessage
Gets or sets the Id of the template message that should be sent as a reply to incoming messages. To disable automatic replies, set ServerReplyWithMessage to null.
public ItemId ServerReplyWithMessage { get; set; }
Property Value
StopProcessingRules
Gets or sets a value indicating whether subsequent rules should be evaluated.
public bool StopProcessingRules { get; set; }