Compartilhar via


NewMailEvent

Topic Last Modified: 2007-03-05

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

Syntax

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

Type

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 Microsoft Exchange Server 2007 that has the Client Access server role installed.

Element Information

Namespace

https://schemas.microsoft.com/exchange/services/2006/types

Schema name

Types schema

Validation file

Types.xsd

Can be empty

False