2.2.4.1 t:RuleActionsType Complex Type

The RuleActionsType complex type specifies the set of actions that are available to a rule (2).

 <xs:complexType name="RuleActionsType">
   <xs:sequence>
     <xs:element name="AssignCategories"
       type="t:ArrayOfStringsType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="CopyToFolder"
       type="t:TargetFolderIdType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="Delete"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="ForwardAsAttachmentToRecipients"
       type="t:ArrayOfEmailAddressesType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="ForwardToRecipients"
       type="t:ArrayOfEmailAddressesType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="MarkImportance"
       type="t:ImportanceChoicesType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="MarkAsRead"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="MoveToFolder"
       type="t:TargetFolderIdType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="PermanentDelete"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="RedirectToRecipients"
       type="t:ArrayOfEmailAddressesType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="SendSMSAlertToRecipients"
       type="t:ArrayOfEmailAddressesType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="ServerReplyWithMessage"
       type="t:ItemIdType"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="StopProcessingRules"
       type="xs:boolean"
       minOccurs="0"
       maxOccurs="1"
      />
   </xs:sequence>
 </xs:complexType>
  

The following table lists the child elements of the RuleActionsType complex type.

Element name

Type

Description

AssignCategories

t:ArrayOfStringsType ([MS-OXWSCDATA] section 2.2.4.13)

The categories that are stamped on email messages.

CopyToFolder

t:TargetFolderIdType ([MS-OXWSFOLD] section 2.2.4.16)

The ID of the folder that email items will be copied to.

Delete

xs:boolean ([XMLSCHEMA2])

A value that indicates whether messages are to be moved to the Deleted Items folder.

ForwardAsAttachmentToRecipients

t:ArrayOfEmailAddressesType ([MS-OXWSCDATA] section 2.2.4.7)

The email addresses to which messages are to be forwarded as attachments.

ForwardToRecipients

t:ArrayOfEmailAddressesType

The email addresses to which messages are to be forwarded.

MarkImportance

t:ImportanceChoicesType ([MS-OXWSCORE] section 2.2.5.3)

The importance that is to be stamped on messages.

MarkAsRead

xs:boolean

A value that indicates whether messages are to be marked as read.

MoveToFolder

t:TargetFolderIdType

The ID of the folder that email items will be moved to.

PermanentDelete

xs:boolean

A value that indicates whether messages are to be permanently deleted and not saved to the Deleted Items folder.

RedirectToRecipients

t:ArrayOfEmailAddressesType

The email addresses to which messages are to be redirected.

SendSMSAlertToRecipients

t:ArrayOfEmailAddressesType

The mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.

ServerReplyWithMessage

t:ItemIdType ([MS-OXWSCORE] section 2.2.4.25)

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

StopProcessingRules

xs:boolean

A value that indicates whether subsequent rules (2) are to be evaluated.