Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

This article was previously published under Q297274

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Resolution

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

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


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:

↑ Back to the top


Keywords: KB297274, kbprb, kbmsg

↑ Back to the top

Article Info
Article ID : 297274
Revision : 6
Created on : 2/22/2007
Published on : 2/22/2007
Exists online : False
Views : 294