Getting cursor position in mailItem htmlbody

Greenmachine

I am need to achieve the following behavior. I have added some stuff to the mailItem.HTMLbody, a table with some data and a couple of links.

My plugin has a button, which when adds some html after the position of the cursor. This event may occure several times.

I have tried using WordDocument.selection class for this, but it works with the mailItem.body rather than the mailItem.HTMLBody.

How should I go about this? Thank you in advance.

Dmitry Streblechenko

Outlook does not use an HTML editor on top of HTMLBody. It uses the Word editor accessible from Inspector.WordEditor.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related