VS2008 VSTO Outlook 2007 working with a in progress composed message body
Posted on 2009-05-08
I working on a Addin project in C#, where I've created a ribbon type Microsoft.Outlook.Mail.Compose.
The ribbon item has a dropdown that is populated from a database of surveys that are associated with a URL (stored in the dropdown item TAG property). I want to insert into the message they are composing if they click the insert button.
I can't seem to find how to do this in C# to drop the URL of the selected dropdown item TAG property contents into the message body and hopfully where the cursor is currently located (if that is possible).
The ribbon appears OK at this point and the dropdown is populated OK, now I just need to get the dropdown item TAG property value into the message body.
How do I do this?