View Single Post
  #1  
Old March 22nd 10, 05:47 PM posted to microsoft.public.outlook.program_addins
Gregor
external usenet poster
 
Posts: 3
Default how to remove previous replies from an email item

Hi.

Emails are very often replies to previous emails. I'm writing add-in, where
I would need to get only the body text of the last email - I want to remove
the content from the previous emails.

Is there a way to do this? Is there any Outlook API that could help here?

As I noticed, MailItem.Body and MailItem.HtmlBody never contain the ""
character which is typically inserted when replying to emails. I guess
Outlook filters this out. It's rather unfortunate since they could be very
successfully used to detect previous conversations.

Any help would be greatly appreciated!!
Gregor
Ads