【问题标题】:Issue with Image which is send Via Mail in iOs default mail app & outlook在 iOs 默认邮件应用程序和 Outlook 中通过邮件发送的图像问题
【发布时间】:2017-05-28 11:08:01
【问题描述】:

我正在尝试使用“node-ses”从 node.js API 发送电子邮件。我在邮件正文中附加了图片网址代码。

<img src="' + host + '/images/ic_comscope.png" height="40"> 

它完全可以在 Gmail 和浏览器中运行,但在 iOs 默认邮件应用和 Outlook 中存在问题。

注意:我不想要与附件相关的建议 给出任何其他解决方案

【问题讨论】:

  • 收到电子邮件后的完整 URL 是什么?
  • 您是指 iOS 上的 Outlook 应用程序吗?或者您说的是 Android 上的 Outlook 应用、Windows 上的 Outlook、Mac 上的 Outlook 或 Outlook.com?

标签: ios node.js email email-templates


【解决方案1】:

您可以尝试为图像添加宽度而不是(或)高度。例如。删除height="40" 并添加style="height: 40px; width: ___px"。如果用户启用了不同的显示缩放,则在 Windows 上的 Outlook 中以像素为单位指定样式会更好。

【讨论】:

    猜你喜欢
    • 2012-01-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-01-09
    • 1970-01-01
    • 2023-03-19
    相关资源
    最近更新 更多