Move Incoming Emails to Separate Folders

  • Thread starter Thread starter Crossh
  • Start date Start date
C

Crossh

I have emails coming in that I need to put into different folders, based on
text in the subject line. I was using the Rules feature, but I have already
exceeded the amount of rules allowed. How can I do this in VB? Also, where
would the code go? In "ThisOutlookSession"? Thanks for your help.
 
In Outlook VBA you would put the code in ThisOutlookSession and handle
NewMailEx or NewMail or Items.Add on the Inbox folder's Items collection.

An alternative is to combine all of your rules into one that calls a script.
The script is a public Sub that takes the incoming item as an argument. Look
on www.outlookcode.com for information on scripts called from rules.
 
Back
Top