View Single Post
  #2  
Old February 23rd 09, 02:33 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default mailItem.HTMLBody should retrieve only current text

Get the previous message that's being replied to and find the text between
the body and /body tags. Then get the current reply message and get the
same from there. Do a diff on the two and what's left is the new text.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Nagaraj" wrote in message
...
while replying to messages, when I use mailItem.HTMLBody I am getting
entire
body including previous messages. I want to get only current entered new
text
but not previous messages. Can anyone know how to do it in C#



--
Nagaraj Tadipatri


Ads