Pull notifications for EWS deletion-related mailbox events in Exchange
Discover which mailbox events are raised when you delete items by using EWS in Exchange.
When you delete items and folders from a mailbox, this triggers a mailbox event. Different versions of Exchange return different mailbox events in response to changes to items and folders in a mailbox. The following table identifies the mailbox events that are returned for deletions when you use pull notifications to subscribe to mailbox events.
Table 1: Deletion-related mailbox events for pull notifications
Type of deletion and the EWS operation | Exchange 2010 notification when you specify each folder identifier | Exchange 2010 notification when you specify all folders | Exchange Online and Exchange 2013 notification when you specify each folder identifier | Exchange Online and Exchange 2013 when you specify all folders |
---|---|---|---|---|
Soft delete via the DeleteItem operation |
DeletedEvent for the item. ModifiedEvent for the item's parent folder. |
DeletedEvent for the item. ModifiedEvent for the item's parent folder. |
MovedEvent for the item. This specifies both the old and new parent folder identifiers. The item is moved to the Deletions folder in the dumpster. ModifiedEvent for the item's parent folder. |
DeletedEvent for the item. DeletedEvent for the item from the AllItems default search folder. ModifiedEvent for the item's parent folder. |
Hard delete via the DeleteItem operation |
DeletedEvent for the item. ModifiedEvent for the item's parent folder. |
DeletedEvent for the item. ModifiedEvent for the item's parent folder. |
DeletedEvent for the item. ModifiedEvent for the item's parent folder. |
DeletedEvent for the item. DeletedEvent for the item from the AllItems default search folder. ModifiedEvent for the item's parent folder. |
Move to the Deleted Items folder via the DeleteItem operation |
MovedEvent for the item. This specifies both old and new parent folder identifiers. ModifiedEvent for the item's old parent folder. ModifiedEvent for the item's new parent folder, which is the Deleted Items folder. |
MovedEvent for the item. This specifies both old and new parent folder identifiers. ModifiedEvent for the item's old parent folder. ModifiedEvent for the item's new parent folder, which is the Deleted Items folder. |
MovedEvent for the item. This specifies both old and new parent folder identifiers. ModifiedEvent for the item's old parent folder. ModifiedEvent for the item's new parent folder, which is the Deleted Items folder. |
DeletedEvent from the AllItems default search folder. CreatedEvent for the item in the AllItems folder. ModifiedEvent for the item's original parent folder. ModifiedEvent for the Deleted Items folder. |
Soft delete via the DeleteFolder operation |
DeletedEvent for the folder. ModifiedEvent for the folder's parent folder. |
DeletedEvent for the folder. ModifiedEvent for the folder's parent folder. |
DeletedEvent for the folder. ModifiedEvent for the folder's parent folder. |
DeletedEvent for the folder. ModifiedEvent for the folder's parent folder. |
Hard delete via the DeleteFolder operation |
DeletedEvent for the folder. ModifiedEvent for the folder's parent folder. |
DeletedEvent for the folder. ModifiedEvent for the folder's parent folder. |
DeletedEvent for the folder. ModifiedEvent for the folder's parent folder. |
DeletedEvent for the folder. ModifiedEvent for the folder's parent folder. |
Move to the Deleted Items folder via the DeleteFolder operation |
MovedEvent for the folder. This specifies both old and new parent folder identifiers. ModifiedEvent for the folder's old parent folder. ModifiedEvent for the folder's new parent folder, which is the Deleted Items folder. |
MovedEvent for the folder. This specifies both old and new parent folder identifiers. ModifiedEvent for the folder's old parent folder. ModifiedEvent for the folder's new parent folder, which is the Deleted Items folder. |
MovedEvent for the folder. This specifies both old and new parent folder identifiers. ModifiedEvent for the folder's old parent folder. ModifiedEvent for the folder's new parent folder, which is the Deleted Items folder. |
ModifiedEvent for the folder's old parent folder. ModifiedEvent for the folder's new parent folder which is the Deleted Items folder. |