Sent Items
Maybe I need supply more information?
I am trying to determine if a sent email (from address) belongs to an
existing (visible) mailbox...
Lets say I have multiple accounts (PST files as I already have Exchange
folders working) setup - I want to be able to determine which account the
email was sent from.
I don't want to have to hard-code the folder name (Select Case to match
address to folder) as a (PST) mailbox can be renamed.
I thought of using StoreID but a sent email (Parent.StoreID) takes on the
Default account's ID.
Any help would be greatly appreciated,
"JHP" wrote in message
...
I've written a Macro that moves sent email to the proper Mailbox without
hard-coding Mailbox name; working great with Exchange Accounts, but if
this same approch is used with PST Accounts...
I don't know how (where to begin) to match the Sent mail to the correct
folder, as the folder name can be renamed and may not match the
SentOnBehalfOfName?
Thank you for any assistance,
|