編輯

共用方式為


Actions

The Actions element represents the set of actions that are available to be taken on a message when the conditions are fulfilled.

Rule (RuleType)

<Actions>
    <AssignCategories>
    <CopyToFolder>
    <Delete>
    <ForwardAsAttachmentToRecipients>
    <ForwardToRecipients>
    <MarkImportance>
    <MarkAsRead>
    <MoveToFolder>
    <PermanentDelete>
    <RedirectToRecipients>
    <SendSMSAlertToRecipients>
    <ServerReplyWithMessage>
    <StopProcessingRules>
</Actions>

RuleActionsType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
AssignCategories
Represents the categories that are stamped on e-mail messages.
CopyToFolder
Identifies the ID of the folder that e-mail items will be copied to.
Delete
Indicates whether messages are to be moved to the Deleted Items folder.
ForwardAsAttachmentToRecipients
Indicates the e-mail addresses to which messages are to be forwarded as attachments.
ForwardToRecipients
Indicates the e-mail addresses to which messages are to be forwarded.
MarkImportance
Specifies the importance that is to be stamped on messages.
MarkAsRead
Indicates whether messages are to be marked as read.
MoveToFolder
Identifies the ID of the folder that e-mail items will be moved to.
PermanentDelete
Indicates whether messages are to be permanently deleted and not saved to the Deleted Items folder.
RedirectToRecipients
Indicates the e-mail addresses to which messages are to be redirected.
SendSMSAlertToRecipients
Indicates the mobile phone numbers to which a Short Message Service (SMS) alert is to be sent.
ServerReplyWithMessage
Indicates. the ID of the template message that is to be sent as a reply to incoming messages.
StopProcessingRules
Indicates whether subsequent rules are to be evaluated.

Parent elements

Element Description
Rule (RuleType)
Represents a single rule in a user's mailbox.

Text value

None.

Remarks

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
True

See also