如何将功能嵌入HTML电子邮件? [英] How to embed functionality into HTML email?

查看:348
本文介绍了如何将功能嵌入HTML电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望让用户点击HTML电子邮件中的赞成或拇指向下按钮,而不会导致点击打开浏览器窗口。



有没有办法在HTML电子邮件中嵌入有限的网页功能(即点击图标,显示确认)?

考虑到大多数电子邮件客户端去掉或禁用JavaScript以防止恶意代码执行或其他安全问题,恐怕这种功能在理论上是可行的,但这并不实际。 。您最好的选择是使用看起来像竖起大拇指或拇指向下的图像,然后直接链接到您的网站。浏览器窗口仍然需要打开,但您至少可以实现目标的主要部分。


We want to let users click a thumbs up or thumbs down button from an HTML email, without causing the clicking to open a browser window.

Is there a way to essentially embed limited web functionality (i.e., clicking an icon, showing confirmation) within HTML emails?

Thanks!

解决方案

I'm afraid such functionality, while theoretically possible, wouldn't be very practical given that most email clients strip out or disable JavaScript in order to prevent malicious code execution or other security issues. Your best bet is to use an image that looks like the thumbs up or thumbs down and then links directly back to your website. The browser window will still need to be opened, but you'll at least achieve the main part of your goal.

这篇关于如何将功能嵌入HTML电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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