public final class RuleActions extends Object
Represents the set of actions that are available to a rule.
Constructor and Description |
---|
RuleActions()
Initializes a new instance of the
RuleActions class |
Modifier and Type | Method and Description |
---|---|
com.aspose.ms.System.Collections.Specialized.StringCollection |
getAssignCategories()
Gets or sets the categories that are stamped on e-mail messages.
|
String |
getCopyToFolder()
Gets or sets the folder that e-mail items will be copied to.
|
boolean |
getDelete()
Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.
|
MailAddressCollection |
getForwardAsAttachmentToRecipients()
Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.
|
MailAddressCollection |
getForwardToRecipients()
Gets or sets the e-mail addresses to which messages are to be forwarded.
|
boolean |
getMarkAsRead()
Gets or sets a value indicating whether messages are to be marked as read.
|
int |
getMarkImportance()
Gets or sets the importance that is to be stamped on messages.
|
String |
getMoveToFolder()
Gets or sets the ID of the folder that e-mail items will be moved to.
|
boolean |
getPermanentDelete()
Gets or sets a value indicating whether messages are to be permanently deleted and not saved to the Deleted Items folder.
|
MailAddressCollection |
getRedirectToRecipients()
Gets or sets the e-mail addresses to which messages are to be redirected.
|
MailAddressCollection |
getSendSMSAlertToRecipients()
Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.
|
String |
getServerReplyWithMessage()
Gets or sets the ID of the template message that is to be sent as a reply to incoming messages.
|
boolean |
getStopProcessingRules()
Gets or sets a value indicating whether subsequent rules are to be evaluated.
|
void |
setAssignCategories(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the categories that are stamped on e-mail messages.
|
void |
setCopyToFolder(String value)
Gets or sets the folder that e-mail items will be copied to.
|
void |
setDelete(boolean value)
Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.
|
void |
setForwardAsAttachmentToRecipients(MailAddressCollection value)
Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.
|
void |
setForwardToRecipients(MailAddressCollection value)
Gets or sets the e-mail addresses to which messages are to be forwarded.
|
void |
setMarkAsRead(boolean value)
Gets or sets a value indicating whether messages are to be marked as read.
|
void |
setMarkImportance(int value)
Gets or sets the importance that is to be stamped on messages.
|
void |
setMoveToFolder(String value)
Gets or sets the ID of the folder that e-mail items will be moved to.
|
void |
setPermanentDelete(boolean value)
Gets or sets a value indicating whether messages are to be permanently deleted and not saved to the Deleted Items folder.
|
void |
setRedirectToRecipients(MailAddressCollection value)
Gets or sets the e-mail addresses to which messages are to be redirected.
|
void |
setSendSMSAlertToRecipients(MailAddressCollection value)
Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.
|
void |
setServerReplyWithMessage(String value)
Gets or sets the ID of the template message that is to be sent as a reply to incoming messages.
|
void |
setStopProcessingRules(boolean value)
Gets or sets a value indicating whether subsequent rules are to be evaluated.
|
public RuleActions()
Initializes a new instance of the RuleActions
class
public final com.aspose.ms.System.Collections.Specialized.StringCollection getAssignCategories()
Gets or sets the categories that are stamped on e-mail messages.
public final void setAssignCategories(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the categories that are stamped on e-mail messages.
public final String getCopyToFolder()
Gets or sets the folder that e-mail items will be copied to.
public final void setCopyToFolder(String value)
Gets or sets the folder that e-mail items will be copied to.
public final boolean getDelete()
Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.
public final void setDelete(boolean value)
Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.
public final MailAddressCollection getForwardAsAttachmentToRecipients()
Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.
public final void setForwardAsAttachmentToRecipients(MailAddressCollection value)
Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.
public final MailAddressCollection getForwardToRecipients()
Gets or sets the e-mail addresses to which messages are to be forwarded.
public final void setForwardToRecipients(MailAddressCollection value)
Gets or sets the e-mail addresses to which messages are to be forwarded.
public final int getMarkImportance()
Gets or sets the importance that is to be stamped on messages.
public final void setMarkImportance(int value)
Gets or sets the importance that is to be stamped on messages.
public final boolean getMarkAsRead()
Gets or sets a value indicating whether messages are to be marked as read.
public final void setMarkAsRead(boolean value)
Gets or sets a value indicating whether messages are to be marked as read.
public final String getMoveToFolder()
Gets or sets the ID of the folder that e-mail items will be moved to.
public final void setMoveToFolder(String value)
Gets or sets the ID of the folder that e-mail items will be moved to.
public final boolean getPermanentDelete()
Gets or sets a value indicating whether messages are to be permanently deleted and not saved to the Deleted Items folder.
public final void setPermanentDelete(boolean value)
Gets or sets a value indicating whether messages are to be permanently deleted and not saved to the Deleted Items folder.
public final MailAddressCollection getRedirectToRecipients()
Gets or sets the e-mail addresses to which messages are to be redirected.
public final void setRedirectToRecipients(MailAddressCollection value)
Gets or sets the e-mail addresses to which messages are to be redirected.
public final MailAddressCollection getSendSMSAlertToRecipients()
Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.
public final void setSendSMSAlertToRecipients(MailAddressCollection value)
Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.
public final String getServerReplyWithMessage()
Gets or sets the ID of the template message that is to be sent as a reply to incoming messages.
public final void setServerReplyWithMessage(String value)
Gets or sets the ID of the template message that is to be sent as a reply to incoming messages.
public final boolean getStopProcessingRules()
Gets or sets a value indicating whether subsequent rules are to be evaluated.
public final void setStopProcessingRules(boolean value)
Gets or sets a value indicating whether subsequent rules are to be evaluated.