Class RuleActions

    • Constructor Detail

      • RuleActions

        protected RuleActions()
        Initializes a new instance of the RulePredicates class.
    • Method Detail

      • getAssignCategories

        public StringList getAssignCategories()
        Gets the categories that should be stamped on incoming messages. To disable stamping incoming messages with categories, set AssignCategories to null.
      • getCopyToFolder

        public FolderId getCopyToFolder()
        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.
      • getDelete

        public boolean getDelete()
        Gets or sets a value indicating whether incoming messages should be automatically moved to the Deleted Items folder.
      • setDelete

        public void setDelete​(boolean value)
      • getForwardAsAttachmentToRecipients

        public EmailAddressCollection getForwardAsAttachmentToRecipients()
        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.
      • getForwardToRecipients

        public EmailAddressCollection getForwardToRecipients()
        Gets the e-mail addresses to which incoming messages should be forwarded. To disable forwarding incoming messages, empty the ForwardToRecipients list.
      • getMarkImportance

        public Importance getMarkImportance()
        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.
      • getMarkAsRead

        public boolean getMarkAsRead()
        Gets or sets a value indicating whether incoming messages should be marked as read.
      • getMoveToFolder

        public FolderId getMoveToFolder()
        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.
      • getPermanentDelete

        public boolean getPermanentDelete()
        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 saved into the recipient's mailbox. To delete a message after it has
      • getRedirectToRecipients

        public EmailAddressCollection getRedirectToRecipients()
        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.
      • getSendSMSAlertToRecipients

        public Collection<MobilePhonegetSendSMSAlertToRecipients()
        Gets the phone numbers to which an SMS alert should be sent. To disable sending SMS alerts for incoming messages, empty the SendSMSAlertToRecipients list.
      • getServerReplyWithMessage

        public ItemId getServerReplyWithMessage()
        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.
      • getStopProcessingRules

        public boolean getStopProcessingRules()
        Gets or sets a value indicating whether subsequent rules should be evaluated.