getting email address of To property in Outlook Inbox and From property in Outlook Outbox

O

Omatase

I have a requirement to get the email address to whom emails in the
Outlook inbox was sent as well as the From address for emails in the
Outlook outbox.

I have only looked into making this happen with the Inbox scenario
thus far. Here are the problems I am running into.

I first tried getting the information by for eaching through the
Recipients property. But the Address property is always null.

Then if I check the To property I don't get the email address but just
the full name of the person that owns the email address.

The ReceivedByName property gives me the same thing as the To
property.

What can I do to get the email address?
 
B

Brian Tillman

Omatase said:
I have a requirement to get the email address to whom emails in the
Outlook inbox was sent as well as the From address for emails in the
Outlook outbox.

I have only looked into making this happen with the Inbox scenario
thus far. Here are the problems I am running into.

The programming newsgroups are microsoft.public.outlook.program_vba and
microsoft.public.priogram_addins. Ask your question in one of those for
best response.
 

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