Platform SDK: MAPI |
The NEWMAIL_NOTIFICATION structure describes information relating to the arrival of a new message.
Header file: | MAPIDEFS.H |
typedef struct _NEWMAIL_NOTIFICATION { ULONG cbEntryID; LPENTRYID lpEntryID; ULONG cbParentID; LPENTRYID lpParentID; ULONG ulFlags; LPTSTR lpszMessageClass; ULONG ulMessageFlags; } NEWMAIL_NOTIFICATION;
The NEWMAIL_NOTIFICATION structure is one of the members of the union of structures included in the info member of the NOTIFICATION structure. When the info member of a NOTIFICATION structure contains a NEWMAIL_NOTIFICATION structure, the ulEventType member of the NOTIFICATION structure is set to fnevNewMail.
MAPI uses the NEWMAIL_NOTIFICATION structure only as a member of the NOTIFICATION structure, which holds information about a notification event for the advise sink.
For more information about notification, see the topics described in the following table.
Topic | Description |
---|---|
Event Notification in MAPI | General overview of notification and notification events. |
Handling Notifications | Discussion of how clients should handle notifications. |
Supporting Event Notification | Discussion of how service providers can use the IMAPISupport method to generate notifications. |