Outlook 插件在邮件中获取附件而不是图片

Outlook Addin Getting Attachments not Pictures in Mail

我正在构建的插件有问题。

我只想获取附加到邮件的附件。

但是:

Mail.Attachment也包括邮件内容中的图片或标志。

您需要检查以下扩展 MAPI 属性,为此使用 PropertyAccessor.GetProperty

查看类似问题 - Distinguish visible and invisible attachments with Outlook VBA 了解更多信息和示例代码。