On Apr 13, 11:36 am, Mike P <mike.p...@gmail.comwrote:
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.