MarkAsJunk
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.
Last modified: October 17, 2012
Applies to: Exchange Online | Exchange Server 2013 | Office 365
<MarkAsJunk IsJunk=”true | false” MoveItem=”true | false”> <ItemIds/> </MarkAsJunk>
MarkAsJunkType
The following sections describe attributes, child elements, and parent elements.
Attributes
|
Attribute |
Description |
|---|---|
|
IsJunk |
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. |
|
MoveItem |
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. |
Child elements
Parent elements
None.