Only by getting the original message's text and comparing that to what's in
the reply. You can use ConversationIndex and ConversationTopic to find the
mail that's being replied to if you don't already have a handle to it.
You can use Items.Restrict to find all items in a folder that have the same
ConversationTopic and then check each for ConversationIndex. Each new
message in a conversation will have a ConversationIndex value that's longer
than the previous ConversationIndex value. See
http://msdn.microsoft.com/en-us/library/ms528195(EXCHG.10).aspx for
information on working with conversations.
--
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
"Ekin" <Ekin (AT) discussions (DOT) microsoft.com> wrote
Quote:
When a user replies to an email, I would like to programmatically append a
piece of text below his/her latest message rather than the bottom of the
entire email body.
Is there a way to do this both form plain text and HTML emails?
Ekin |