是否可能/推荐发送包含Javascript的HTML电子邮件? [英] Is it possible / recommendable sending HTML emails containing Javascript?

查看:98
本文介绍了是否可能/推荐发送包含Javascript的HTML电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这主要是一个修辞的问题,只要我检查过的答案是甚至不打扰,但我想确实确定。

This is mostly a rhetorical question, as far as I've checked the answer is 'don't even bother', but I wanted to be really sure.

我们有一个电子邮件应用程序,您可以在其中发送电子邮件到订阅者列表。这不是垃圾邮件:例如,大学通过博物馆向学生发送电子邮件,向用户发送电子邮件等。

We have an email app, where you can send email to lists of subscribers. This is not spam: it's used, for example, by an university to send communications to its students, by a museum to send emails to subscribers, etc.

最近,我被潜在客户询问是否可以发送包含javascript的HTML消息,而不会被标记为垃圾邮件。

Recently, I was asked by a prospective client if it was possible to send html messages containing javascript without being marked as spam.

不知道,我做了短时间的网路和什么我有(百分比在我的后面),一半的客户端不能正常显示,一半的客户将把你标记为垃圾邮件,一半的客户端将完全阻止JavaScript(显然有一些叠加)

Not knowing, I did a short trip of the webs and what I've got is (percentages out of my posterior) 'half the clients won't display properly', 'half the clients will flag you as spam' and 'half the clients will have blocked javascript altogether' (There's clearly some superposition).

所以最好的解决方案似乎是添加一个链接到正确的页面,如果真的有必要。你有不同的经历吗?您是否知道提供此功能的任何电子邮件合并解决方案?您是否知道特定客户是否接受或拒绝使用javascript显示html?

So the best solution seems to be adding a link to a proper page if really necessary. Have you got a different experience? Do you know of any email-merge solution that provides this feature? Do you know if specific clients accept it or refuse to display html with javascript?

推荐答案

您已经列出了反对JavaScript使用的正确参数在电子邮件这些告诉你这是一个坏主意。链接到可以自由使用javascript的页面是一个很好的选择,让用户决定是否以及何时访问此增强内容。

You have listed the right arguments against javascript usage in emails. These show you that it is a bad idea. Linking to a page where you can use javascript freely is a good option and lets the user decide if and when he wants to access this "enhanced" content.

这篇关于是否可能/推荐发送包含Javascript的HTML电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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