【问题标题】:Thunderbird: embedded images not rendering inlineThunderbird:嵌入式图像未内联渲染
【发布时间】:2011-08-07 22:37:09
【问题描述】:

这可能不是最合适的地方,我已经发布到 Mozilla 董事会,但我猜 SO 会吸引更多眼球......无论如何:

我们正在生成带有内嵌图像的 HTML 电子邮件。它们在 Outlook 2007 中显示良好,但不能与 Thunderbird 2.0.0.23 内联呈现,它们显示为附件。我的雷鸟客户端中有以下设置:

Display attachments inline: tick 
Message Body As: Original HTML 

据我所知,各种标题都是正确的(来自 Thunderbird 视图源):

------=_Part_1_9884354.1303120232543 
Content-Type: image/gif; name=classpath_466bd94ae6b_before.gif 
Content-Transfer-Encoding: base64 
Content-Disposition: inline; filename=classpath_466bd94ae6b_before.gif 
Content-ID: <classpath_466bd94ae6b_before.gif>

和 HTML(Thunderbird 源代码):

<img title=3D"Before" alt=3D"Before" height=3D"13" width=3D"52" src=3D"cid:classpath_466bd94ae6b_before.gif"/>

根据文档,一切看起来都不错,欢迎提出任何建议。

谢谢

【问题讨论】:

  • 它是否可以在 Apple Mail.app、Gmail 等其他客户端中使用?
  • Apple 我不知道,hotmail,gmail 是的,工作正常。
  • =" 之间的那些 3D 字符是什么?你在这里粘贴的神器?
  • @Mat - 它们似乎是 Thuderbird 源视图的产物,我认为可以忽略它们
  • 确保这一点(使用 wget 或 curl 并使用纯文本编辑器查看)

标签: html email thunderbird inline-images


【解决方案1】:

我遇到了同样的问题并通过更改 Content-Type: multipart/mixed; 解决了它内容类型:多部分/相关; (在构建的电子邮件的 MIME 中)

【讨论】:

  • 切换到“内容类型:多部分/相关”对我有用:谢谢!
猜你喜欢
  • 1970-01-01
  • 2017-03-19
  • 2015-02-16
  • 1970-01-01
  • 2017-08-09
  • 2014-06-10
  • 2018-08-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多