Thank you Ken for your reply.
My actual requirement is I already have some message replied to me. Whenever
I reply back to him I want to display (company signature) immediately after
new text which i reply to him.
But what is happening is the signature is displayed after entire text
(current text and previous message).
My current code
mailItem.HTMLBody = mailItem.HTMLBody + adContent.text;
where adContent.text is the company signature.
My requirement is i want to display company signature immediately after my
reply text but not at end of entire message( current + previous messages). Do
you have any C# code to do this?
Thanks
is
--
Nagaraj Tadipatri
"Ken Slovak - [MVP - Outlook]" wrote:
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