How to find all messages that belong to a contact?

D

deko

(This is the short version of my post on 1/6)

Is there a way to match MailItem properties with ContactItem properties in
VBA?

I'm trying to use VBA to pull all the messages (actually only the SentOn
date of each message) that belong to a particular contact. For example, if
I have a contact "John Doe" in the Contacts folder, I want code to find all
the dates on which I sent an email to this contact.

Outlook must know how to associate a particular contact entry with it's
email messages in the PST - if I open an email message in the InBox and
right click on the From header, I can right click and select "Lookup
Contact" from the menu and it will take me to that contact's entry in the
Contacts folder. What I am trying to do is the same process in reverse.

any suggestions welcome... see my 1/6 post for code in progress...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top