I have rules set to move some email messages into different folders. I would like this to still show the envelope in the notification area but there is no option in the rules wizard to do this. It looks like I would either have to have the rule “run a script” or “perform a custom action” allowing either vba or c/c++ respectively.
Anyone else have a better solution?
You can also achieve it not by using a rule, but doing the rule-like action in code. For example:
How to get the folder ID (i.e., entryID of the folder):
This is just a manual way, you could make a recursive procedure but for simple purposes this is fine. For instance, I had a structure like:
So in the Immediate window I typed:
and increased the number until I got “Mailbox – My_Name_Here”
then, I typed:
increasing the number until I got “Inbox”.
Then:
increasing the number until I got “The Subfolder I’m Looking For”
Then:
And that was it: the entryID of the folder I wanted to move the message to. You get the point, I’m sure 🙂