Determining if a Message is a New Message or a Reply/Forward

M

Mark Wilson

If an addin traps the Inspector.Activate event, is there any property that
can be used to determine if the message being created is a New message, of if
it is a Reply/Forward?

I’ve looked at OlActionCopyLike and it only seems to apply to messages that
are created programmatically, not messages created by users.
 
C

Colbert Zhou [MSFT]

Hello Mark,

As far as I know, there is not a property tells the difference between New
message and Reply/Forward message directly. But if a message is a new
created by user, its ConversationIndex and ConversationTopic returns empty
value. If it is a replied or forwarded email, the ConversationIndex returns
a hashed string and ConversationTopic returns the orginal message's topic.

I hope this can help for your scenario. If you have any future questions or
concerns, please feel free to let me know!

Have a nice day!


Best regards,
Ji Zhou
Microsoft Online Support Team
 
K

Ken Slovak - [MVP - Outlook]

That applies also to EntryID as well.

However, if an new message was saved but never sent then after that
ConversationTopic and EntryID will have values when the item is checked in
Activate() when opened.

So I would check for a null or empty value from ConversationIndex in those
cases.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top