The MarkAsJunk element specifies the request to move an item to the junk mail folder and to add the sender to the blocked sender list.
<MarkAsJunk IsJunk="true | false" MoveItem="true | false"> <ItemIds/> </MarkAsJunk>
Attributes and elements
The following sections describe attributes, child elements, and parent elements.
||A text value of true for the IsJunk attribute indicates that the email sender is added to the blocked sender list. A value of false indicates that the email sender is removed from the blocked sender list, if the email sender is already on the list.
||A text value of true for the MoveItem attribute indicates that the item is moved to the default junk mail folder. A value of false indicates that the item is not moved to the default junk mail folder.
This element was introduced in Exchange Server 2013.
The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.
|Can be empty