响应邮件在 Outlook(hotmail)中不起作用

Responsive mail not working in Outlook(hotmail)

我一直在使用 this 免费的响应式电子邮件模板。我一直主要使用相同的 .html,除了她和那里关于文本和图像的一些小改动。电子邮件在 chrome 和 firefox 等浏览器以及 Gmail 中正确显示,但在 Outlook 中不正确!我怎样才能使图片在 Outlook 中也显示成行?

更新: 如果有人对另一个也适用于 Outlook 的响应式电子邮件模板有建议,我将不胜感激!

Outlook 使用 Word 作为电子邮件编辑器。您可以在 MSDN 中的以下系列文章中找到支持和不支持的 HTML 元素、属性和级联样式表属性:

您可以引用外部图像,也可以嵌入图像。为此,您需要将其作为文件附加。设置 PR_ATTACH_CONTENT_ID 属性 (DASL - "http://schemas.microsoft.com/mapi/proptag/0x3712001E") using the Attachment.PropertyAccessor.SetProperty method. The value should match the cid attribute of the image. See Outlook 2010- Create a message from an HTM file 了解更多信息。

 newMail.HTMLBody = String.Format(
 "<body><img src=\"cid:{0}\"></body>"
, contentIdValue
);

您是指桌面上的 Outlook,outlook.com 还是智能手机上的 Outlook 应用程序?

Outlook 桌面版不会响应式显示电子邮件。 Outlook.com 很难,因为您无法真正调整 window 的大小来显示它的工作。 Outlook 应用程序是您的最佳选择,因为它可以很好地显示您的响应式电子邮件。

你能确认以下哪一个是你的场景吗?