Outlook 2007: Internal handling of email rules

Jan 14, 2008 at 4:06 PM
Hello together,

I'm currently debugging an issue with email filterting rules
using a custom store provider running under Outlook 2007.
Basically it's a wrapped PST.

When I specify a rule in Outlook to move messages of "priority: high"
into a subfolder, the message gets moved and the original
message gets deleted in the inbox.

Now comes the mystery: I don't see a IMAPFolder::CopyMessages(MESSAGE_MOVE)
or IMAPIFolder::DeleteMessages() in my call trace, but the message is gone.
When I trace the same operation using Outlook 2003,
the CopyMessages() call is there.

I guess Outlook 2007 somehow uses an optimized way to move/delete
messages for email filtering rules. What's the difference to Outlook 2003?

It could be very possible my store provider does something wrong,
but I traced this for two days now without much success.
Any help is appreciated.

Thanks in advance,
Thomas
Jan 24, 2008 at 5:01 PM
/me passes a box of delicious chocolate cookies to sgriffin.
Jan 24, 2008 at 5:01 PM
Edited Jan 24, 2008 at 5:07 PM
Looks like I double posted, so I pass you two boxes of chocolate cookies! Hope your better half won't hate me for that...
Coordinator
Feb 1, 2008 at 3:57 PM
Edited Feb 1, 2008 at 3:58 PM
This has very much to do with the Item Proc pipeline: http://blogs.msdn.com/stephen_griffin/archive/2008/01/11/outlook-rules-at-least-when-you-tell-it-to.aspx. Essentially the message is hidden while Outlook and the PST work on processing the rules.
Feb 27, 2008 at 1:25 PM
Thanks, I owe you a beer ;-)
Feb 27, 2008 at 1:26 PM
Funny thing, posting with Firefox at Codeplex leads to a double post...