Match Emails based on text in subject

  • Thread starter Thread starter RebekahK20_pontiac via OfficeKB.com
  • Start date Start date
R

RebekahK20_pontiac via OfficeKB.com

Hello. I have a rule in place to move all messages containing certain
subjects to a seperate folder. For the incoming task assignment, and the same
folder for the task acceptance notice. I know need to have outlook find the
matched emails applying to the same task id # and delete those, leaving only
the un assigned items?

Is there any easy way to do this?
 
This wouldn't be terribly difficult. You can probably code the move action
for incoming messages along with trapping the task assignments by calling a
script from a rule:

How to create a script for the Rules Wizard in Outlook:
http://support.microsoft.com/default.aspx?scid=KB;en-us;q306108

Or code the entire thing and bypass the Rules Wizard altogether:

How to create a custom rule in Outlook 2000 by using Visual Basic for
Applications:
http://support.microsoft.com/Default.aspx?kbid=235852

You will most certainly need to obtain MAPIFolder references to your
destination folders to use with any Item.Move methods, and also to inspect
the Items collection to find related e-mails using matches on object property
values by way of the Restrict method.

Let me know if you have any more questions.
 
Back
Top