Ben said:
I cannot use the rule wizard, because the email comes
with a dated attachment, and the file is saved to a directory of a dated
structure, that is ...\year\month\day\..
Saved by WHAT? You imply but don't mention that something, like an add-on,
is stripping or copying attachments from your e-mails and saving them into
some directory in your file system on your hard disk. Okay, but what does
that have to do with the organization of e-mails within the message store in
Outlook itself?
And there are multiple emails coming in from multiple vendors. Thanks
in advance for sharing your thoughts.
Just what is the VBA macro going to use as criteria to detect a particular
e-mail that the rules cannot already use? You said the criteria was:
- with specific subject line
- always comes from someone at "@CompanyABC.com"
So why can't you create a rule that tests on that same criteria? You also
said:
- scan outlook 2003 inbox for an email
However, you neglected to mention what you want to *do* with those matching
e-mails. Move them into a special folder (in Outlook's message store),
delete them, mark them as read, auto-reply to them, or WHAT? Based on what
you said so far, the rule might look like:
Apply rules after the message arrives
with "@companyabc.com" in the sender's address
and with <yourUndentifiedString> in the subject
<someUnidentifiedAction>
and stop processing more rules
If all you want to do is *find* these e-mails (and not move, delete, or
otherwise process them with an action in a rule), why not use a search
folder in Outlook? I'm not expert in creating search folders (rarely use
them myself) but nothing you mentioned so far leads me to believe that you
cannot define criteria usable by a search folder that lists the e-mails that
you want to find.