RuleActions

Inheritance: java.lang.Object

public final class RuleActions

Represents the set of actions that are available to a rule.

Constructors

Constructor Description
RuleActions() Initializes a new instance of the RuleActions class

Methods

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

RuleActions()

public RuleActions()

Initializes a new instance of the RuleActions class

getAssignCategories()

public final System.Collections.Specialized.StringCollection getAssignCategories()

Gets or sets the categories that are stamped on e-mail messages.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

setAssignCategories(System.Collections.Specialized.StringCollection value)

public final void setAssignCategories(System.Collections.Specialized.StringCollection value)

Gets or sets the categories that are stamped on e-mail messages.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

getCopyToFolder()

public final String getCopyToFolder()

Gets or sets the folder that e-mail items will be copied to.

Returns: java.lang.String

setCopyToFolder(String value)

public final void setCopyToFolder(String value)

Gets or sets the folder that e-mail items will be copied to.

Parameters:

Parameter Type Description
value java.lang.String

getDelete()

public final boolean getDelete()

Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.

Returns: boolean

setDelete(boolean value)

public final void setDelete(boolean value)

Gets or sets a value indicating whether messages are to be moved to the Deleted Items folder.

Parameters:

Parameter Type Description
value boolean

getForwardAsAttachmentToRecipients()

public final MailAddressCollection getForwardAsAttachmentToRecipients()

Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.

Returns: MailAddressCollection

setForwardAsAttachmentToRecipients(MailAddressCollection value)

public final void setForwardAsAttachmentToRecipients(MailAddressCollection value)

Gets or sets the e-mail addresses to which messages are to be forwarded as attachments.

Parameters:

Parameter Type Description
value MailAddressCollection

getForwardToRecipients()

public final MailAddressCollection getForwardToRecipients()

Gets or sets the e-mail addresses to which messages are to be forwarded.

Returns: MailAddressCollection

setForwardToRecipients(MailAddressCollection value)

public final void setForwardToRecipients(MailAddressCollection value)

Gets or sets the e-mail addresses to which messages are to be forwarded.

Parameters:

Parameter Type Description
value MailAddressCollection

getMarkImportance()

public final int getMarkImportance()

Gets or sets the importance that is to be stamped on messages.

Returns: int

setMarkImportance(int value)

public final void setMarkImportance(int value)

Gets or sets the importance that is to be stamped on messages.

Parameters:

Parameter Type Description
value int

getMarkAsRead()

public final boolean getMarkAsRead()

Gets or sets a value indicating whether messages are to be marked as read.

Returns: boolean

setMarkAsRead(boolean value)

public final void setMarkAsRead(boolean value)

Gets or sets a value indicating whether messages are to be marked as read.

Parameters:

Parameter Type Description
value boolean

getMoveToFolder()

public final String getMoveToFolder()

Gets or sets the ID of the folder that e-mail items will be moved to.

Returns: java.lang.String

setMoveToFolder(String value)

public final void setMoveToFolder(String value)

Gets or sets the ID of the folder that e-mail items will be moved to.

Parameters:

Parameter Type Description
value java.lang.String

getPermanentDelete()

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.

Returns: boolean

setPermanentDelete(boolean value)

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.

Parameters:

Parameter Type Description
value boolean

getRedirectToRecipients()

public final MailAddressCollection getRedirectToRecipients()

Gets or sets the e-mail addresses to which messages are to be redirected.

Returns: MailAddressCollection

setRedirectToRecipients(MailAddressCollection value)

public final void setRedirectToRecipients(MailAddressCollection value)

Gets or sets the e-mail addresses to which messages are to be redirected.

Parameters:

Parameter Type Description
value MailAddressCollection

getSendSMSAlertToRecipients()

public final MailAddressCollection getSendSMSAlertToRecipients()

Gets or sets the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.

Returns: MailAddressCollection

setSendSMSAlertToRecipients(MailAddressCollection value)

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.

Parameters:

Parameter Type Description
value MailAddressCollection

getServerReplyWithMessage()

public final String getServerReplyWithMessage()

Gets or sets the ID of the template message that is to be sent as a reply to incoming messages.

Returns: java.lang.String

setServerReplyWithMessage(String value)

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.

Parameters:

Parameter Type Description
value java.lang.String

getStopProcessingRules()

public final boolean getStopProcessingRules()

Gets or sets a value indicating whether subsequent rules are to be evaluated.

Returns: boolean

setStopProcessingRules(boolean value)

public final void setStopProcessingRules(boolean value)

Gets or sets a value indicating whether subsequent rules are to be evaluated.

Parameters:

Parameter Type Description
value boolean