Can't get most email headers in Outlook Addin API

。_饼干妹妹 提交于 2019-12-06 16:33:48

问题


I'm trying to get all email headers from a selected Outlook email while inside an Outlook Addin.

I've found the Preview API that should allow me to get the headers.

This is what I have tried as of now

Office.initialize = (reason) => {
    headerNames = ["Received-SPF"]

    Office.context.mailbox.item.internetHeaders.getAsync(headerNames, print);
}

print(asyncResult) {
    console.log(asyncResult.value);
}

The problem is when I start to put more headers, the API doesn't return them.

The only ones I get are Received-SPF, DKIM-Signature and Authentication-Results. All other headers (Received, To, X-Microsoft-Antispam-Message-Info, etc) are ignored.

来源:https://stackoverflow.com/questions/55518119/cant-get-most-email-headers-in-outlook-addin-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!