Outlook加载项如何在读取模式下单独的窗口打开电子邮件?

发布于 2025-01-22 11:12:02 字数 266 浏览 2 评论 0原文

我身边还有更多问题。 我需要在Outlook(桌面和在线)的新窗口中打开电子邮件。我知道该电子邮件ID,而且我也知道Method office.context.mailbox .disPlayMessageFormAsync()如果我传递给it MeaseSearsID,则将其打开,但问题是它以“编辑”模式,“编辑”模式,用户可以根据需要编辑味精。

问题是如何在仅读取模式的新窗口中打开Outlook电子邮件?也许需要为方法添加某种选项?

Even more questions from my side.
I need to open email in new window in Outlook(desktop and online). I know that email id, and I also know that method Office.context.mailbox.displayMessageFormAsync() will open it if I pass to it messageID, but problem is it opens it in "edit" mode, user can edit msg as it wants.

Question is How to open outlook email in new window in read only mode ? Maybe need to add some kind of option to method?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

红焚 2025-01-29 11:12:02

问候我找到答案(?)。在某些情况下,这不是在MS文档中写的。看起来有两种看起来很熟悉的方法,一种是异步的第二种方法不是,但是他们打开电子邮件的方式不同。

如果您使用displayMessageForm()方法,它将以readme模式打开电子邮件 /a>。

Greetings I found the answer(?). By some means this is not written in MS docs. That there are two methods who looks familiar, one is async second is not, but how they opening emails are different.

If you use displayMessageForm() method it will open email in readme mode like this.
email opened in readme form

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文