Windows Mail: Modifying .Body causes trouble

Add-in Express™ Support Service
That's what is more important than anything else

Windows Mail: Modifying .Body causes trouble
Modifying the Body property of ADXOEItem switches to "unicode" 
Eugene Astafiev

Add-in Express team

Posts: 8540
Joined: 2007-07-25
Hi Jacob,

We do some research. I will let you know the results ASAP.
.NET, Extended MAPI, Windows Phone & RT
Posted 08 Oct, 2008 10:12:24 Top
Fedor Shihantsov

Add-in Express team

Posts: 1188
Joined: 2005-01-11
Hi Jacob,

Try the following:

Application.ActiveInspector.CurrentItem.HTMLBody = Application.ActiveInspector.CurrentItem.Body + "<DIV>Hi</DIV>"
Posted 08 Oct, 2008 11:40:42 Top
Jacob Vestergaard

Posts: 68
Joined: 2008-06-08
Hi Fedor,

Thank you, yes, that would work I guess. The only thing is, I tried to modify the .Body property to see, whether I could use that path to insert an image. As Eugene stated above, this namely can't be done with the .HTMLBody property.

Thank you, even though it doesn't answer the weirdness of the unicode-thingy :-)

Posted 08 Oct, 2008 16:14:04 Top