If default format in outlook selected as a html
or Text
or Rich Text
. So In outlook add-in
how we fetch format from outlook setting using JavaScript.
How to get default selected format from outlook in add-in using Javascript
130 views Asked by codeur At
1
getTypeAsync
function is use to get a selected format asHTML
orTEXT
and but forRTF
format you get value asHTML
instead ofRTF
.Office.context.mailbox.item.body.getTypeAsync(function (result) { ... }