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 com.aspose.ms.System.Collections.Specialized.StringCollection getAssignCategories()
Gets or sets the categories that are stamped on e-mail messages.
StringCollection
object.public void setAssignCategories(com.aspose.ms.System.Collections.Specialized.StringCollection value)
Gets or sets the categories that are stamped on e-mail messages.
value
- a StringCollection
object.public String getCopyToFolder()
Gets or sets the folder that e-mail items will be copied to.
String
object.public void setCopyToFolder(String value)
Gets or sets the folder that e-mail items will be copied to.
value
- a String
object.public boolean getDelete()
Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.
public void setDelete(boolean value)
Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.
value
- a boolean.public MailAddressCollection getForwardAsAttachmentToRecipients()
Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.
MailAddressCollection
object.public void setForwardAsAttachmentToRecipients(MailAddressCollection value)
Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.
value
- a MailAddressCollection
object.public MailAddressCollection getForwardToRecipients()
Gets or sets the e-mail addresses to which messages are to be forwarded.
MailAddressCollection
object.public void setForwardToRecipients(MailAddressCollection value)
Gets or sets the e-mail addresses to which messages are to be forwarded.
value
- a MailAddressCollection
object.public int getMarkImportance()
Gets or sets the importance that is to be stamped on messages.
public void setMarkImportance(int value)
Gets or sets the importance that is to be stamped on messages.
value
- a int.public boolean getMarkAsRead()
Gets or sets a value indicating whether messages are to be marked as read.
public void setMarkAsRead(boolean value)
Gets or sets a value indicating whether messages are to be marked as read.
value
- a boolean.public String getMoveToFolder()
Gets or sets the ID of the folder that e-mail items will be moved to.
String
object.public void setMoveToFolder(String value)
Gets or sets the ID of the folder that e-mail items will be moved to.
value
- a String
object.public boolean getPermanentDelete()
Gets or sets a value indicating whether messages are to be permanently deleted and not saved to the Deleted Items folder.
public 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.
value
- a boolean.public MailAddressCollection getRedirectToRecipients()
Gets or sets the e-mail addresses to which messages are to be redirected.
MailAddressCollection
object.public void setRedirectToRecipients(MailAddressCollection value)
Gets or sets the e-mail addresses to which messages are to be redirected.
value
- a MailAddressCollection
object.public MailAddressCollection getSendSMSAlertToRecipients()
Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.
MailAddressCollection
object.public void setSendSMSAlertToRecipients(MailAddressCollection value)
Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.
value
- a MailAddressCollection
object.public String getServerReplyWithMessage()
Gets or sets the ID of the template message that is to be sent as a reply to incoming messages.
String
object.public void setServerReplyWithMessage(String value)
Gets or sets the ID of the template message that is to be sent as a reply to incoming messages.
value
- a String
object.public boolean getStopProcessingRules()
Gets or sets a value indicating whether subsequent rules are to be evaluated.
public void setStopProcessingRules(boolean value)
Gets or sets a value indicating whether subsequent rules are to be evaluated.
value
- a boolean.Copyright (c) 2008-2017 Aspose Pty Ltd. All Rights Reserved.