最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Outlook Addin Mobile get Email as Base64 - Stack Overflow

programmeradmin1浏览0评论

In a Mobile Outlook Addin, what is a good replacement for the unsupported (on Mobile) function Office.context.mailbox.item.getAsFileAsync?
*the function above gets the currenty open Email as base64
*no additional Microsoft Azure token-nightmares preferably

I have a working Desktop Outlook Addin that gets the Email as Base64 file via this function:

Office.context.mailbox.item.getAsFileAsync((asyncResult) => {
    if (asyncResult.status === Office.AsyncResultStatus.Failed) {
        console.log(`Error encountered during processing: ${asyncResult.error.message}`);
        return;
    }
    var emlBase64 = asyncResult.value;
});

发布评论

评论列表(0)

  1. 暂无评论