Live data from Hacker News

Can I Email: ‘Can I Use’ for email

caniemail.com

31–40 of 206 posts

Re: Can I Email: ‘Can I Use’ for email

#31
post #7

Why use HTML in emails though?

Because nothing else has anything beyond the most minimal support for right-to-left languages.

Aside: it's nice that the site checks , but dir/direction is much more widely used in practice and should be added.

Re: Can I Email: ‘Can I Use’ for email

#32
post #16
post #12

Earlier quoted context omitted.

Something like this? http://www.rfc-editor.org/rfc/rfc1896.txt

Thanks for the RFC link. Yes, basically. I mean, different mime versions of the same content are a possibility to do this transition: Send both plaintext, HTML and markdown, and the receiver could choose to display markdown if he otherwise would display plain text. To be honest, this won't come. Google is pushing AMP into mails, that's exactly the opposite direction.

It’s so stupid. If AMP emai ever became a thing, every single non google email client would just fetch and store the contents of the AMP page the moment an AMP email arrives. So what was the point of it?

Re: Can I Email: ‘Can I Use’ for email

#34
post #4

It would be really nice to have a small and simple markup language, say some markdown standard, to be the layouting language for E-Mails. No (external) images, just links, lists, headings, basic formatting. HTML E-Mails are a security nightmare, even if "only" CSS is "allowed" and JS/iframes/external images are not loaded.

Markdown is nice for composing, but not as a standard to be supported by many clients. CommonMark is an improvement, but there is way to many ambiguities and differences in supported features over different markdown parsers for it to be feasibly used as a standard.

Markdown is also not any better than HTML in terms of security - most markdown parsers allow passing through arbitrary HTML, and then depend on sanitizing the HTML for security.

What you are asking for is effectively a smaller subset of HTML to be used for for email (which is kind of how it started...)

Re: Can I Email: ‘Can I Use’ for email

#35

Earlier quoted context omitted.

I think that would be difficult to calculate accurately. We can collect user-agent statistics from browsers but mail clients don't have an equivalent when reading mail.

A rough estimate would satisfy me at least. Seems Litmus has farily broad statistics from 823 million opened emails: https://emailclientmarketshare.com/ (August 2019)

It's probably strongly tilted towards email clients which don't block external images by default, and email clients used by people who are more likely to be targets of a marketing campaign (i.e. richer 1st world people).

Re: Can I Email: ‘Can I Use’ for email

#36

Earlier quoted context omitted.

I think that would be difficult to calculate accurately. We can collect user-agent statistics from browsers but mail clients don't have an equivalent when reading mail.

A rough estimate would satisfy me at least. Seems Litmus has farily broad statistics from 823 million opened emails: https://emailclientmarketshare.com/ (August 2019)

[deleted]

Re: Can I Email: ‘Can I Use’ for email

#37
For me discovering https://mjml.io/ was the best thing as it takes away the pain of having to think about all the nitpicks of the different email clients and abstracts it into it's own little markup language.

It supports responsive email designs and has many examples which you can alter to your needs.

You can see the power here: https://mjml.io/try-it-live the basic 15 line example expands to 188 lines of html so that it looks the same everywhere.

Re: Can I Email: ‘Can I Use’ for email

#38
post #28

I'm all over for using cutting edge CSS solutions but when it comes to HTML email, I'm just: Hello ... ... Thanks! and it's done :)

How about this? Hello ... ... Thanks!

I want to have embedded links, tables and images (but only ones that are attachments), which plaintext isn't sufficient for. On the other hand, I want _only_ that, and notably they all provide a nice and obvious client-side failover for TTY software without requiring attaching a 2nd copy of the text.

Re: Can I Email: ‘Can I Use’ for email

#39
I'm surprised to find no mention of MJML on this thread - it's more of a developer tool than a user facing one. You get to design your emails using a simplified markup language that resembles HTML, and it converts it into minified HTML that works pretty well on most email clients. Kudos to the guys behind it!
Post reply on HN