Loading Outlook 'To' email address fields

M

margaret bartley

I'd like to create a db of the mail in my Outlook folders, but I can't
figure out, in code, how to get the To and the From email addresses from my
Inbox subfolders. It only shows me the names, not the actual email
addresses.

I've got several different email addresses pointing to my main address, so
the To fields would be different.
I'd like to go through several years' worth of emails and see what addresses
are / were being used for what, so I can start cleaning some of that stuff
up.

Is there a way I can go to my Contacts table, and do the lookup my self?

I think I've inadvertantly deleted some of the contacts, when I was trying
to clean up, so they wouldn't be there anymore, anyway, but that's a
possibility, maybe?

How about just reading the email header? I've heard I have to use MAPI. Is
there any documentation of how to use it for this purpose?
 
Top