Export (0) Print
Expand All
And
App
Day
End
ID
Ids
Not
Or
SID
To
TTL
UID
Url
Expand Minimize

MarkAsJunk

Exchange Server 2013

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

ItemIds

Parent elements

None.

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.

Namespace

http://schemas.microsoft.com/exchange/services/2006/messages

Schema name

Messages schema

Validation file

messages.xsd

Can be empty

Show:
© 2014 Microsoft