PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming How I can get the individual mail message body and sent time from a single thread mail ?

Reply

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

 
Thread Tools Rate Thread
Old 27-04-2004, 06:39 AM   #1
ksskumar
Guest
 
Posts: n/a
Default How I can get the individual mail message body and sent time from a single thread mail ?


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
  Reply With Quote
Old 27-04-2004, 07:28 AM   #2
Dmitry Streblechenko \(MVP\)
Guest
 
Posts: n/a
Default Re: How I can get the individual mail message body and sent time from a single thread mail ?

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


"ksskumar" <ksskumar2000@hotmail.com> wrote in message
news:ada4781e.0404262139.3465f424@posting.google.com...
> 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



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off