admin管理员组

文章数量:1125438

I need to develop an addin to double check the mail that need to be send, but now I have a problem about Office.context.mailbox.item. What I have done is when hit the send button, a new page will open and I'll send all params (like to, cc etc.) through URL, but when it comes to attachments, URL will be too long and go to wrong page.

Anyway to pass Office.context.mailbox.item to a new page?

Here's part of my code.

    emailInfo.attachments = attachmentsResult.value;

    window.open('https://localhost/CheckPage.html?mailboxItem=' + encodeURIComponent(JSON.stringify(emailInfo)), '_blank');
});

Oh by the way, I'm developing new Outlook exe for windows

Best regards

本文标签: How to pass js param to Outlook addins pageStack Overflow