【问题标题】:Office add-in for Outlook - Attaching a .msg file results in a file size of 0Outlook 的 Office 加载项 - 附加 .msg 文件会导致文件大小为 0
【发布时间】:2021-02-03 05:14:12
【问题描述】:

我们正在为 Outlook 开发 Office 插件。

目前,我正在使用以下方法在撰写电子邮件时获取附件的大小。

如果我使用以下过程附加一个 msg 文件,我会得到一个附件大小为 0 的对象。

getAttachmentsAsync(options, callback)

程序

  1. [新电子邮件] > [附加文件] > [浏览这台电脑]
  2. 选择味精文件。
  3. 调用 getAttachmentsAsync()。

在上述过程中附加 test.msg 时检索到的对象示例。

{id: "0", name: "test", size: 0, attachmentType: "item", isInline: false}

请注意,这只发生在 PC 版本的 Outlook 中,不会发生在 Outlook 网页版中。

这是一个错误吗?

【问题讨论】:

    标签: office-js outlook-addin outlook-web-addins


    【解决方案1】:

    感谢您报告此问题。经过慎重考虑,我们的团队决定在短期内不修复这个问题。我们建议您投票或创建一个新的user-voice item,这将使我们了解它的共性,并有助于我们确定优先级。如果我们最终解决了这个问题,我们将根据需要重新激活。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-04-06
      • 1970-01-01
      • 1970-01-01
      • 2019-01-31
      • 2013-11-23
      • 2018-11-14
      • 1970-01-01
      • 2015-09-21
      相关资源
      最近更新 更多