Solved

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

Posted on 2008-06-25
5
308 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
ID: 21869814
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
ID: 21870402
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
ID: 21874880
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
ID: 21874989
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
ID: 31470759
Great work...
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

777 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