Office js body.getAsync()在Outlook 2016 for Windows上返回意外字符

Office js body.getAsync()在Outlook 2016 for Windows上返回意外字符,office-js,outlook-web-addins,Office Js,Outlook Web Addins,Outlook 2016 for Windows 我正在使用函数Office.context.mailbox.item.body.getAsync获取电子邮件内容: if(Office.context.requirements.isSetSupported(“邮箱”,1.3)){ Office.context.mailbox.item.body.getAsync(“html”),函数(结果){ if(result.status==Office.AsyncResultStatus.successe

Outlook 2016 for Windows

我正在使用函数
Office.context.mailbox.item.body.getAsync
获取电子邮件内容:

if(Office.context.requirements.isSetSupported(“邮箱”,1.3)){
Office.context.mailbox.item.body.getAsync(“html”),函数(结果){
if(result.status==Office.AsyncResultStatus.successed){
var htmlBody=result.value;
globalAddin.setLocalStorageItem('htmlMailBody',htmlBody);
globalAddin.getEmailSignature(htmlBody);
窗口位置=
globalAddin.randomizeUrl(“composeemail/add_contact.html”);
}
});
}
这与Outlook for web和Outlook 2013 for Windows配合使用:


使用Outlook 2016 for Windows,它会成功,但返回未知字符
ÿþ是否尝试升级最新版本和正确的许可证。我在安装了最新版本并添加了365试用帐户后解决了此问题。

奇怪的是,我使用此功能,它在Outlook 2016 for desktop上运行良好。您可能尝试更新outlook/尝试其他计算机或类似的操作?您在上面看到的outlook的完整版本(版本和内部版本)是什么?谢谢。我升级到最新版本并添加了试用帐户。在那之后它就开始工作了。