PRB: Store Events Do Not Fire on the Outbox or Sent Item Folders (297274)



The information in this article applies to:

  • Microsoft Exchange 2000 Server

This article was previously published under Q297274

SYMPTOMS

When you register an Exchange 2000 store event sink globally on the mailbox store, the sink fires for the appropriate events (OnSyncSave, for example) for all folders in a mailbox. However, the sink does not fire for events in the Outbox or the Sent Items Folder. For example, when a user sends an e-mail, it appears in the Outbox folder for a brief time.

CAUSE

Even if an event sink is registered directly on the Outbox, it will not fire. The Outbox is a temporary home for a new message while it waits to be picked up by the MAPI spooler. When the message appears in this folder, it does not generate an OnSave or OnSyncSave event. Also, when the message disappears from the folder, it does not generate an OnDelete or OnSyncDelete event.

Messages are moved to the Sent Items folder after being sent by the MAPI client in such a way that events are not generated, and this behavior is by design. The appropriate events are generated if you manually move items into the Sent Items folder.

RESOLUTION

Store event sinks are not appropriate for handling outgoing messages; a transport event sink would be more appropriate.

STATUS

This behavior is by design.

REFERENCES

For additional information on transport sinks, see "SMTP and NNTP Transport Event Sinks with CDO" at the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MinorLast Reviewed:3/4/2004
Keywords:kbMsg kbprb KB297274