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.
Asked
Active
Viewed 82 times
0

codeur
- 120
- 8
1 Answers
1
getTypeAsync
function is use to get a selected format as HTML
or TEXT
and but for RTF
format you get value as HTML
instead of RTF
.
Office.context.mailbox.item.body.getTypeAsync(function (result) {
...
}

codeur
- 120
- 8