对于HTML电子邮件,如何嵌入图像,以便用户不会得到下载提示 [英] For HTML Emails, How to embed images so users don't get a download prompt

查看:208
本文介绍了对于HTML电子邮件,如何嵌入图像,以便用户不会得到下载提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个包含2张图片的HTML电子邮件。目前,我使用标签将图像放在电子邮件中。问题是用户收到电子邮件时,出于安全原因要求用户点击下载。



有一种方法可以将图片嵌入电子邮件,避免此问题?



我使用Coldfusion发送电子邮件。



感谢

解决方案

您可以使用 cfmailparam 将图片作为附件嵌入,并链接到附件,而不是一个外部文件。



http://www.bennadel.com/blog/61-CFMail-CFMAILPARAM-Used-to-Embed-Images-in-Email.htm


I'm working to create an HTML email which includes 2 images. Currently, I'm using tags to place the image in the email. Problem is when users get the email, it's asking the user to "click to download" for security reasons.

Is there a way to embed the image in the email, to avoid this issue?

I'm using Coldfusion to send the email.

Thanks

解决方案

You can embed the image as an attachment using cfmailparam and link to the attachement instead of an external file.

http://www.bennadel.com/blog/61-CFMail-CFMAILPARAM-Used-to-Embed-Images-in-Email.htm

这篇关于对于HTML电子邮件,如何嵌入图像,以便用户不会得到下载提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆