Move appears to copy

  • Thread starter Thread starter JoeLiuzzo
  • Start date Start date
J

JoeLiuzzo

I'm guessing the answer to this has to do with some sort of timing, but I
can't figure it out.

I have 2 rules on my Inbox.

1) Rule #1 moves mail messages to a PST having a folder _Inbox
2) Rule #2 -- which I believe should fire AFTER rule #1 -- uses a custom
script which uses the objMail.Move method to move the message to a different
folder, say DestFolder, in another PST.

I trace the VBA and have no errors & when It's done, there appears to be a
copy of the email message in the DestFolder, because the original message is
still sittng in the _InBox folder.

If I switch the order of the rules so that the 2nd rule has a higher
priority (since Outlook says they process in the order shown), the surprising
result is that there is no difference. I still have a copy of the message in
BOTH _InBox and DestFolder.

I would have thought that if rule 1 fired first and moved the message (based
on it's criteria), rule 2 wouldn't see it. If on the other hand, rule 2
fired first and moved it to DestFolder, then rule 1 wouldn't see it, so it
wouldn't be in _InBox.

I don't understand why there are two copies, particularly since neither the
canned rules nor the VBA tries to copy the item -- the both use a *move*
directive.

Can someone explain this?
 
If you want only the first rule to process the message, add the "stop processing" action to it.
 
Thank you very much. I never noticed that option, as it's never been a
factor in my rules hierarchy before.
 
Back
Top