Redigera

Dela via


NewMailEvent

The NewMailEvent element represents an event that is triggered by a new mail item in a mailbox.

<NewMailEvent>
   <Watermark/>
   <TimeStamp/>
   <ItemId/>
   <ParentFolderId/>
</NewMailEvent>

BaseObjectChangedEventType

Attributes and elements

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

Attributes

None.

Child elements

Element Description
Watermark
Represents an event bookmark in the mailbox events table.
TimeStamp
Represents the timestamp of the arrival of a new mail item in a mailbox.
ItemId
Represents the identifier of a new mail item.
ParentFolderId
Represents the identifier of the parent folder of the new mail item.

Parent elements

Element Description
Notification
Contains information about the subscription and the events that have occurred since the last notification.

Remarks

The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema name
Types schema
Validation file
Types.xsd
Can be empty
False

See also

Subscribe operation

GetEvents operation

Unsubscribe operation