小编Mar*_*gie的帖子

Office.context.mailbox.item.body.getAsync returns error 9020 An internal error has occured

I am using a tutorial that gets the email email properties using Outlook Add-in and now I am trying to get the email body. All the research I am getting is using mostly this statement to get it.

function getEmailBody() {
  Office.context.mailbox.item.body.getAsync(Office.CoercionType.Text, function callback(asyncResult) {
       return asyncResult.value;
});

But when I run it, it returns empty and when I put a debugger on it, the asyncResult has these values:

value: null
status: failed
error: OSF.DDA.Error
  name: GenericResponseError
  message: An internal …

outlook-web-addins

5
推荐指数
0
解决办法
172
查看次数

标签 统计

outlook-web-addins ×1