![]() |
Move appears to copy
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? |
Move appears to copy
If you want only the first rule to process the message, add the "stop processing" action to it.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "JoeLiuzzo" wrote in message ... 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? |
Move appears to copy
Thank you very much. I never noticed that option, as it's never been a
factor in my rules hierarchy before. "Sue Mosher [MVP-Outlook]" wrote: If you want only the first rule to process the message, add the "stop processing" action to it. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "JoeLiuzzo" wrote in message ... 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? |
All times are GMT +1. The time now is 12:30 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com