简体   繁体   中英

How to get default selected format from outlook in add-in using Javascript

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.

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) { ... }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM