5 ms·
Ask HN: HTML emails ok in this day and age?
1. Please let's not have an ideological shouting match.
2. The question is not "Are gaudy emails ok?"
3. The pros of HTML email are obvious (e.g tables, links, embedded illustrations). What are the practical cons? Assume judicious use for the aforementioned benefits, not for stupid backgrounds. Disregard things that are no longer relevant (e.g. bandwidth).
- Kluny 14y agoI read most email on my blackberry. html emails show up as a horrible mess of <div this that id="alkjsga;" src="akjlsdhf" clas="akjlsdf" etc > </akksfh?> that I have to scroll past before I get to the meat of the message. Fuck html emails. Stop doing them.
- lutusp 14y agoMost HTML emails have two parts -- a plain-text section and an HTML section. Most e-mail clients know how to separate them. If you see raw HTML in your e-mail client, IMHO it's time to upgrade your program.
- eevilspock 14y agoHow old is your blackberry model?
- Kluny 14y agoOld - Curve 8520, something like that.
- lutusp 14y ago> What are the practical cons? 1. Every vulnerability that browsers suffer from, is transferred to e-mails, because a browser is used to view the content. This is the primary reason HTML e-mail content has become unpopular. In principle, an HTML e-mail could contain a small Java applet and (with recently reported Java security problems) this could be used to compromise the recipient machine, through the simple act of opening and viewing the e-mail. 2. An embedded, transparent 1x1 pixel graphic can be used to confirm reception, which solves the single most important problem in spamming and phishing attacks -- verifying that a human read the e-mail. All the recipient needs to do is view the e-mail, and the sender detects that it was received and opened, even when it was read and for how long. 3. Embedded links to dangerous sites, an obvious problem. A better question would be "why is there no nice-looking, but safe, document format for e-mail that has all the aesthetics of HTML but none of the vulnerabilities?" Such a document format would be easy to create, and without linked graphics or hyperlinks, or any kind of plugin vulnerabilities.
- eevilspock 14y agoYour cons are all about the cons of email client supporting HTML. My intended question was, given the existing support for HTML email, is there a reason for a sender to not take advantage of it? Your reasons 1-3 above don't apply because I won't do those things. But what would be a con is if, because of those dangers, enough recipients reject HTML email out-of-hand.
- jcr 14y agoBy the wording in your post, it seems you're already convinced, so I'm wondering why you're asking at all. Anyhow, the more important question is actually, "What is your target audience?" Hypothetically, I'll use myself as an example of not being your target audience. (1) I don't use web mail. (2) My MUA of choice doesn't support HTML, so it's not exposed to the risks of HTML mail, and obviously, I like it that way. (3) If you wanted to communicate with me, you'd ether send plain text, or also send plain text. (4) I probably have cooked up something to strip HTML to plain text for white listed know/wanted senders, but all other HTML-only messages are most likely spam, so it's deleted by default, at the server. (5) If the plain text portion of your multi-format mail is "visit this link", I'll black list you as a spammer. (6) If I'm a paying customer and you send HTML-only email, I'll complain, or silently decide to never do business with you again. (7) If you send HTML-only emails that are difficult to LISTEN to via a screen readers used by the visually impaired, I'll actually resent you... or worse. (8) Similar is true for other kinds of impairments (physical, hearing, ...). The people who will be upset by HTML-only email will fall into two camps; the disabled, and the security conscious, albeit the latter has some cross-over with the tin-foil-hat crowd. It's not a huge population, and they may not matter to you, but excluding disabled people can be a really bad idea. It takes zero imagination to imagine the possible bad press from excluding disabled people. Worse yet, being on the wrong side of accessibility laws can be extremely costly. And worst of all, your HTML-only stuff could be accessible, but you could still be accused/sued for it being inaccessible whether or not the accusations have any merit. (read: increased risk). Retaining at a plain text part in a multi-part message along with your preferred HTML is just smart. Plain text may not be as fancy, or for that matter, effective, and it does have some other known drawbacks (encoding). On the other hand, it's easy to do and it prevents you from alienating people and upsetting potential customers
- eevilspock 14y agoThanks for all the detail. But your automatic rejections seem kind of stiff. What happens when a friend not yet on your whitelist sends you html email? And you treat all emails with a link as spam? The fact that you have a whitelist says something, doesn't it?
- 14y ago