Thunderbird:嵌入式图像未内联渲染
这可能不是最合适的地方,我已经发布到 Mozilla 板上,但我猜这样会吸引更多眼球……无论如何:
我们正在生成一封包含内嵌图像的 HTML 电子邮件。它们在 Outlook 2007 中显示良好,但不会与 Thunderbird 2.0.0.23 内联呈现,它们显示为附件。我在我的 Thunderbird 客户端中进行了以下设置:
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"/>
根据文档,一切看起来都很好,任何建议都表示赞赏。
谢谢
This may not be the most appropriate place for this, I have posted to the Mozilla boards but I'm guessing SO gets a few more eyeballs... Anyway:
We're generating an HTML email with inline images. They display fine in Outlook 2007, but do not render inline with Thunderbird 2.0.0.23, they show up as attachments. I have the following set in my thunderbird client:
Display attachments inline: tick
Message Body As: Original HTML
As far as I can tell the various headers are correct (from Thunderbird view source):
------=_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>
and the HTML (Thunderbird source):
<img title=3D"Before" alt=3D"Before" height=3D"13" width=3D"52" src=3D"cid:classpath_466bd94ae6b_before.gif"/>
Everything looks good per the docs, any suggestions appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,并通过更改 Content-Type: multipart/mixed; 解决了它内容类型:多部分/相关; (在构建的电子邮件的 MIME 中)
I had the same problem and solved it by changing Content-Type: multipart/mixed; to Content-Type: multipart/related; (in the MIME of the constructed email)