Outlook MailItem

M

Mike P

I am using Outlook MailItem to reference emails in the local inbox, but
I need to refer to the sender's email and the received by email and they
do not seem to be accessible in the MailItem object. Does anybody know
how to get at them?
 
A

atlaste

I am using Outlook MailItem to reference emails in the local inbox, but
I need to refer to the sender's email and the received by email and they
do not seem to be accessible in the MailItem object. Does anybody know
how to get at them?

*** Sent via Developersdexhttp://www.developersdex.com***

Yes, it can be deduced from item.ConversationIndex and
item.ConversationTopic. You can use advancedsearch for the
conversationtopic while filtering for conversationindex to make it
fast.

Recipe:
Get the value of the ConversationIndex property, delete the last 5
bytes (10 chars since OOM returns it as a hex string), then try to
find a message with that conversation index and - topic.

Cheers,
Stefan.
 

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