Outlook 阻止所有 Amazon S3 公共图像 URL

问题描述

当我在 html 电子邮件添加来自 Amazon S3 存储桶的图像 URL 并从我们的电子邮件服务器发送它时,html 电子邮件将被标记垃圾邮件,因为 Amazon S3 图像 URL。这是我在 html 电子邮件添加的示例:

<img style="height: 60px; width: 200px;" alt="" src="https://s3.us-east-2.amazonaws.com/tickitin/event-img/20168/d696cef742144426844e0647e89701ac.jpg" />
I tried to update the src in the <img>

到其他类似这样的网址:https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png

html 电子邮件不会被阻止并被发送到收件箱。我在网上尝试了 Amazon S3 存储桶的其他公共图像,发现所有这些带有前缀 URL https://s3.us-east-2.amazonaws.com 的图像都将被阻止。请帮忙看看这个。谢谢。

解决方法

Outlook 中默认阻止外部图像。

您需要将图像附加到电子邮件并设置电子邮件的 PR_ATTACH_CONTENT_ID 属性(DASL 名称为“http://schemas.microsoft.com/mapi/proptag/0x3712001E”)。在消息正文中,您可以使用它们的内容 ID 名称(之前分配给属性)来引用此类图像。

有关详细信息,请参阅 Embed Images in New Messages using a Macro