How I can get the individual mail message body and sent time from a single thread mail ?

  • Thread starter Thread starter ksskumar
  • Start date Start date
K

ksskumar

Hi Friends,

Let me explain the case. I have a thread mail some thing like this,

--------------------------------------------------------

Fourth message body.

Thanks,
Clara

----- Original Message -----
From: Kumar
To: 'Clara'
Sent: Tuesday, April 27, 2004 11:28 AM
Subject: RE: First msg subject


Thrid message body



Thanks & Regards

kumar



-----Original Message-----
From: Clara
Sent: Tuesday, April 27, 2004 10:50 AM
To: senthil
Subject: Re: First msg subject



Second msg Body.

Thanks,
Clara

----- Original Message -----

From: kumar

To: Clara

Sent: Tuesday, April 27, 2004 10:27 AM

Subject: First msg subject



First msg body



Thanks & Regards

kumar

--------------------------------------------------------

I want to extract the individual message body and sent time from this.
For example I want the output something like this,

1. Tuesday, April 27, 2004 11:48 AM

Fourth message body.

Thanks,
Clara

2. Tuesday, April 27, 2004 11:28 AM

Thrid message body



Thanks & Regards

kumar

3. Tuesday, April 27, 2004 10:50 AM


Second msg Body.

Thanks,
Clara

4. Tuesday, April 27, 2004 10:27 AM


First msg body



Thanks & Regards

kumar


Is it possible thru either Outlook object mode or CDO or Redemption or
something else?

Input is only one thread mail. Output expected is, individual message
body and sent time.

yours

Kumar
 
The best you can do is to read the PR_CONVERSATION_INDEX property, delete
the last 5 bytes, then use the value to find the parent message in the
thread. See "Tracking Conversations" on MSDN.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top