Solved

How to tell if a message is part of a thread...

Posted on 2008-06-25
5
306 Views
Last Modified: 2010-04-21
I am in the process of saving email messages from an outlook mail box into a DM application. I am having trouble in finding out if a message is part of a thread. Is there anything in the message properties that indicates that it is part of a thread? If yes, what property is it?

Is there any vbcode that allows me to tell the email message that begun the thread?
0
Comment
Question by:BMaadarani
  • 2
  • 2
5 Comments
 
LVL 97

Expert Comment

by:war1
Comment Utility
Hello BMaadarani,

One way to tell if a message is part of thread or find out which email started the thread is the view messages in Threaded or Conversation view. Go to View > Arrange By > Conversation

Hope this helps!
war1
0
 
LVL 3

Expert Comment

by:GHCS_Mark
Comment Utility
In MAPI terms the following attributes are available:

PR_CONVERSATION_TOPIC      PT_TSTRING      0x0070      0x0070001F
Contains the topic of the first message in a conversation thread.

PR_CONVERSATION_TOPIC_W      PT_UNICODE      0x0070      0x0070001F
Contains the topic of the first message in a conversation thread. UNICODE compilation.

PR_CONVERSATION_TOPIC_A      PT_STRING8      0x0070      0x0070001E
Contains the topic of the first message in a conversation thread. Non-UNICODE compilation.      

PR_CONVERSATION_INDEX      PT_BINARY      0x0071      0x00710102
Contains a binary value that indicates the relative position of this message within a conversation thread.      

However, you have not said how you are accessing the messages to save them off.  Are you using the OOM, Simple MAPI or Extended MAPI?
0
 

Author Comment

by:BMaadarani
Comment Utility
Great reply Mark,
The answer to your question is through Extented MAPI.
Is there a thread id, through which I can inter-relate those messages when extracted from Outlook?

0
 
LVL 3

Accepted Solution

by:
GHCS_Mark earned 250 total points
Comment Utility
Your best bet would be to look at OutlookSpy which is a tool I have used when creating my Extended MAPI features.  Since I moved to Outlook 2007 I haven't actually used it so I have no idea if its still working on my machine.

For a full list of MAPI properties, take a look at:
http://msdn.microsoft.com/en-us/library/ms879912.aspx
0
 

Author Closing Comment

by:BMaadarani
Comment Utility
Great work...
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now