Add method to set body type from Outlook add-in

Add method to set body type from Outlook add-in
0

Upvotes

Upvote

 Jun 08 2022
0 Comments 
New

As of now you can get the body type (HTML or text) of a message from an add-in through the Body.getTypeAsync API.

 

We would like a Body.setTypeAsync method for changing the body type:

setTypeAsync(coercionType: Office.CoercionTypeOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;