I'm developing an add-in in c# for outlook's 2007 and 2010.
Lets say I have Outlook.MailItem
object of currently displayed mail and I want to replace part of the mail text with buttons, that would call an internal add-in function (passing some parameters of course). Is that even possible to make that callback to add-in function? If yes then could you guys put me on the right track, because I can't seem to find anything related to this.