Use plaintext email
useplaintext.email
useplaintext.email
Well, why bother writing his own post in rich text then? He has headings, bold, links, grey font at the bottom, image.
Don't get me wrong - for high security systems/environments, plaintext is way to go. For everyday life use cases I prefer html. Although with Markdown rendered text I would be pretty happy. And enough for author to cover his post sans the green/red boxes and grey text.
Quoting
"But if plaintext is so good, why is this page written in HTML?"
This is a reference document, not an email, you twit.And no, creating snippets on a wiki is also an extra unnecessary step. Email is just easier and faster.
"where's the information on that?" "oh, you should have it in your email somewhere. I think I got one a few months ago about it"
no. just. no. If you care _at all_ about your reference documents you get them out of email ASAP.
And that's ignoring that anyone can delete old emails and thus not have what you considered a reference doc but they just considered old mail. Or that the server could loose your emails and no-one has they synced locally these days.
Newsgroups are better in that regard. You can reference the message using the message-id value. A lot of newsgroups would have FAQS posted every 30 days or so. A reference document that's periodically updated could be sent the same way.
But often I have to communicate via email, report on complex issues, etc. It is nice to have some headings, tables, images in there.
Software that would strip all html out of emails for security would be handy
I thought it was very odd for what is essentially a marketing post.
Since when? I have never heard anyone say this in my entire life. I want emails to look good. So I guess people are different and we can't draw a simple conclusion about what people want from email?
I don't see how. It's just the same as plain text.
<div class="quote"> quoted content </div>
It's far better than trying to keep count of how many ">" are in play, and deal with the vagaries of soft linebreaks and hard linebreaks and wrapping of plaintext.
<div class="quote">
<li>Second</li>
<li>Third</li>
</div>
Without the surrounding `<ul>`. Luckily Thunderbird is smart enough to do this. I don't know about other clients.If my window is small (maybe because I am using a small screen), the text is painful to read. And a non manually wrapped plain text is not wrapped at all in some cases.
By all means, send me plain text mails, it will be lighter for my self-hosted inbox, but don't wrap them manually.
If you are going to abuse /this/ kind of `formatting`, however, you are making your mail harder to read for me. These are tags anyway, just not HTML tags. I'd prefer you use the real formatting that is correctly handled in most cases, but I will adapt.
> There are two main types of emails on the internet: plaintext and HTML. The former is strongly preferred
You will need to back this up because this is not what I observe.
My email client takes care of my privacy and my security, and you can use it too if you are concerned, it's a cross platform maintained free software. It's okay.
My problems with HTML emails is colors: if you want to use something like a night mode, you will see emails with hard coded white background and black texts, or worse, only black texts. You may be able to ignore colors but people will assume you can see them. Maybe an extension like dark background on light texts when using a browser for reading emails who do the trick, but I don't.
> Each line of characters MUST be no more than 998 characters, and SHOULD be no more than 78 characters, excluding the CRLF.
Of course with HTML, your source code can adhere to this standard while still having arbitrarily long lines of text...
The suggestion to use `format=flowed` doesn’t help, as the standard is ill-supported: https://fastmail.blog/2016/12/17/format-flowed/
I’ve researched the issue far and wide and the only way to have responsive, nicely wrapped emails is using HTML.
I initially came to the same conclusion as you, but after receiving one too many badly quoted HTML emails (and after some lost hours unsuccessfully trying to understand how fastmail web, gmail, thunderbird and ios mail.app do HTML quoting (hint: they're all subtly different)), I decided to double-down on format=flowed.
1. Lack of support
2. Lack of people sending/reading plain text email
3. HTML bloat is no longer a real concern
Then they make some implementation difficulty arguments
1. Implement an editor that supports only semantic blockquoting
2. Fix "embarrassing line wrap" due to clients that lack support
For the first 3 arguments, I would say that lack of support from other clients doesn't mean that a client shouldn't support it. I regularly posted to usenet with Thunderbird (which supports format=flowed) and had people respond to my posts with clients that didn't support that feature.
To them (and when viewing the message source), the messages still appeared to be hard-wrapped. When viewing the messages in Thunderbird, the parts I typed were softwrapped. "Embarrassing line wrap" simply did not happen (no matter many times a given piece of text was quoted). "Embarrassing line wrap" was only an issue because certain clients would further re-wrapped quoted text without taking the quote markers into account instead of just leaving it alone or properly re-wrapping it.
Text editors like emacs and vim have features that will easily re-wrap quoted email text. Thunderbird has a feature where you can highlight quoted text and press ctrl-r to rewrap it. So I don't really see how it's difficult to eliminate the "embarrassing line wrap" issue when there are open source programs out there that have the capability (for several decades now) to fix it.
And I think they're missing the point by saying that HTML bloat is no longer an issue. It's not the amount of text that's transferred; it's how readable it is in a client that doesn't support rendering that text. IOW, reading raw HTML is not that easy.
As for implementing an editor that only supports semantic block quoting, I think they're missing the point again. It should be the person who's composing the email who decides whether a particular section of text should be hard-wrapped (meaning no trailing whitespace at the end of each line). You could have a feature where you highlight the text you want hardwrapped and then use a key combination or context menu to apply that change. The rest of the text is assumed to be soft-wrapped and will have trailing whitespace at the end of each line unless that line followed by a blank line.
In other words, your text parts can have lines of arbitrary line length, provided you encode them as QuotedPrintable or Base64 and set the Content-Transfer-Encoding header accordingly, which most email clients do.
If the MUA (Mail User Agent) does not soft wrap text, then text without hard wraps is painful to read. This also applies to text that's not meant to be soft wrapped (source code, error message output, log messages, etc.).
There is an RFC [1] that addresses this issue by introducing a format= flowed option in the MIME headers.
>>>>>>>>This line was 72 characters long, but is now 80 characters long instead.
Still looks pretty
bad on anything
less
than 72 characters
because there's
random
newlines in the
middle of
paragraphs.
Content should be
separated from
presentation.
Additionally 72
characters implies
monospace
fonts which have
been shown to be
less
readable.Not necessarily. There are times where text should not be wrapped (code snippets, error messages, or log output), but if text is softwrapped, then there's no way to prevent that text from getting wrapped unless you use some time of mark up like HTML or markdown. This requires that the client supports that type of markup which isn't always the case.
There is an RFC[1] that describes the format=flowed option in the MIME headers that addresses the wrapping issue (where text that should be soft-wrapped should have trailing whitespace at the end of each line). That would work with email clients that support that feature and will still appear to be hard-wrapped to email clients that do not. So, unlike HTML or markdown, we don't require those who use clients that only support plain text to update their clients to support a new feature. We can use that feature in clients that support it and have a sensible fallback for clients that do not.
Precisely. HTML and markdown separate content from presentation, so content that should never be wrapped - like ```code``` or <blockquote>code</blockquote> is handled properly.
If your screen is so small that it can't display 80 characters across then pretty much anything you look at it with is going to look odd. Any HTML formatting such as tables will also be painful to read.
I just checked on my phone some random opened web page: with my settings (which are far from the default - I raise the DPI setting and the font size so I have small UI elements but big texts), it displays 45 characters per line on portrait mode. Actually the font size is a bit too high, but I don't really care as far as most web pages are readable. I'm fine with scrolling the occasional big HTML table, and will change the settings if this becomes annoying.
So, yes, sometimes, my screen displays less than 80 characters and is perfectly usable. And this fact is not really of my correspondent's business, whether they choose to manually wrap at 80 characters, 72 characters, 42 characters or some other arbitrary number of characters. Actually, nobody knows that apart from people who read this comment. I display text as I see fit (and this is totally an intended pun).
That said, wrapping is better left to the mail client, and let the user adjust their window to suit. My chief gripe at this point is that some email clients (gmail anyway) will get confused by outsized inline images and wrap on them, even if that means letting text drift off the side of the screen!
Many mailers won't even align to right automatically if all input is in an right-to-left language. In practice, HTML email is the only compatible way to get a semi-decent experience for these languages.
* To answer the obvious: the unicode bidi override characters are not a solution. They are often stripped out, and editing zero-width characters is a very 'pleasant' experience.
Plaintext mailers completely mangle emails like this, making them beyond unreadable. Mutt to its credit does the best job.
The result is that the only reasonable and compatible way to mix LTR (left-to-right, like English) and RTL (right-to-left, as with ME languages) is with HTML email. Note that in most cases rendering is an LTR context, so even sending RTL on its own will fare poorly.
I have always used HTML email, even when it was new and poorly supported. I want people who read my email to see a nice appearance. I like bold face and sometimes images.
"Strongly preferred". An appeal to the Authority Fallacy is an indication of a weak argument. Or, no argument at all.
Plaintext email often serves as an in group shibboleth to distinguish “us” from “the other lusers”. Does it have merit beyond that, or do these articles just reinforce that?
If html email clients handled this better, I don’t think there would be as much of a problem. I think you’re right though that plain text acts as a bit of a shibboleth to differentiate “advanced” users vs luddites. But the main thing that I’ve heard people complain about with respect to html email is the loss of inline quoting.
Plaintext has its issues too— in particular long line soft wrapping. Which some would argue would be better supported if html email hadn’t become so popular.
However I think that HTML clients handle this well enough but the etiquette has been completely lost.
Because it messes up the order in which people normally read text.
> Why is top-posting such a bad thing?
>> Top-posting.
>>> What is the most annoying thing in e-mail?But it's also visible in the address bar of the browser after you click it... and people will fill in the form anyway.
Plain text doesn't solve complacency and distraction, it doesn't solve URL composition tricks and redirect wrappers, it doesn't solve spoofing, and it doesn't solve malicious attachments.
If Google's account emails were all plain text, I'm sure phishers would figure out how to make them look as identical to Google's emails as possible, and still get some people.
IMO we already know some good ways to mitigate phishing, but their implementation is spotty: DMARC, hardware token 2FA, and good IT practices in terms of patching, privilege, and backups.
Even with "load remote images" turned off, Apple Mail will "helpfully" load them anyway if you forward an email.
Years of use of plaintext hostile clients by people who read our emails means bottom posting or inline replies are seen as extremely strange, and impossible when you have one of those “seven email deep” threads forwarded to you. (I know, I know, “snip it down”, but sometimes I just don’t have those minutes in my day ;))
Wrapping as well has given me trouble - I'm not sure what I settled on but I went through a period of having some users see my emails come across poorly formatted. And to that note, IIRC Outlook doesn’t do a passable job with plaintext mail, instead shoving monotype text in an ugly system font. The last time I checked I don’t think it converted > into quoting and just vomited them up.
I don’t know what the solution is beyond reluctantly accepting that we have to both consume AND produce HTML email now, and make tools that do it gracefully.
Since email is only valuable as a network, it didn’t make a lot of sense to me to constantly argue with colleagues to send plain text + html, let alone to only send plain text. Ultimately, I decided using elm was my issue, and they were doing the natural thing.
What is a problem is outbound messages. When I try to do (what I think is) the right thing and trim the message and reply inline or bottom post, confusion abounds. I’ve had messages missed because the recipients told me they thought I accidentally sent an empty reply and didn’t scroll past the “on July 24th, superkuh wrote:”
Whose fault is that? Is it the 20 people on the distribution list who learned email protocol from years of Outlook and not “the right places?” I don’t feel comfortable pushing that blame onto them.
A common way to handle this when writing to people who aren't likely to expect an inline response is to put "Responses inline below:" at the very beginning, and then respond inline as usual.
I mean, I get it. There are some things about plaintext that are nice, or that really appeal to the kind of people who read HN. I used to have arguments about this, too -- but it was 20 years ago. Today, the ship has fucking SAILED.
And you know what? It's GREAT. I send formatted email constantly -- and they're better for it. Being able to embed screenshots is awesome. Being able to use color, or bold, or italics, makes a difference in communication.
It's done. I'm not going back to plaintext, and I can't imagine most people will, either. There's no good reason to (in particular, the downfalls of HTML the author lists are all either easily solved or are issues orthogonal to the format of the email.)
Yet, you cannot do any of that on HN (other than a limited case like italic). But, we can communicate just fine without those features.
I suppose it's really a difference of a read once message versus having a discussion. In a read once message, you can format it like you describe. That's how most blogs and web pages work. But if you want to have a discussion, then plain text with very limited markup works best since it minimizes the required vertical scrolling and it allows you to see the overall discussion since you can view more messages in the given screen space.
In the analog world, you could just hand over a white, plaintext birthday card. Or you could give one with a motive, color, some doodles and maybe a memorable photograph attached.
Which one is more memorable?
"It's used by marketing." is not an arguments against it. We have sophisticated spam filters. Update your rules then.
iiiiiiiiiiiiiiiiiii
|||||||H|A|P|P|Y|||||||
__|_____________________|__
|\/\/\/\/\/\/\/\/\\/\/\/\/\/|
|||||||B|I|R|T|H|D|A|Y|||||||
|,,,,,,,,,,,,,,,,,,,,,,,,,,,|
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@In the end what happens is people use text overlays in the IMAGES in order to reply to each other.
Since you edited your response to mention the birthday card:
Yea - on the one hand you can leave a boring "Happy Birthday" message with lots of glitter to make it memorable.
Or you can make the message memorable.
To pick just one example[1]: a lawn forum where people will try to ask a question, or share an experience, and go back and forth trying to describe the details. A photo cuts that pain out and enriches the conversation.
Tons of visual clutter with all kinds of rectangles nested inside each other all over the screen with little apparent purpose for any of them. Join dates of users are given higher visual precedence to the date a comment was made (why is the join date of a user even visible on a discussion page at all?? That's pointless clutter!) 90% of users attaching signatures to every comment they leave with the signature body being longer than whatever remark they left, and often being filled with shitty animated gifs that look like they were stolen from somebody's geocities page.
It's a trash medium. Fundamentally flawed. Trying to fix typical PHP forums is like trying to polish a turd.
Not really. Take a look at any email discussion like the Linux kernel mailing list or the git mailing list. Same thing with newsgroups (usenet).
good lord, how old are you?
Oh my god. At my work, HR likes their email super-formatted to a degree that's not portably achievable with even hand-written HTML. The solution someone once came up with? Their email consists of a single embedded image the size of a typical monitor. All text, all information is in that image. They also have a requirement for everyone to use their standard format for "professional" signatures in their own mail. Of course, those are also embedded images. In a discussion, with each reply of each person, the corresponding signature image is included.
I wish I could tell them that email only allows for plain text, but of course that's not the case.
That doesn't sound optimum use of image at all.
> Or you can make the message memorable.
And use image that make it even more memorable at the same time.
Text and images are tools, both can be misused, but that doesn't means that they are bad. Remember SMS text? Works for sure, clearly not optimal, yet text is pretty good to make message memorable.
I can explain in a thousand word an issue on a page, but you can also just share a screenshot. That's an optimum use of images. Sure you could just write "see screenshot #1", "see screenshot #2", etc.. but I'm pretty sure you'll agree that it's not optimum.
That way the big screenshots don't destroy the flow of text like in http://example.jpg [+] (open inline) and instead information is condensed and digested in the most optimum way possible.
It's not text or images that make forum content good or bad or memorable. It's good people doing good work. And different people work well in different media. Saying that text is the only legitimate form of media is both ignorant and disrespectful.
Surely professional communication has a different use case and requirements than random musings on an internet forum.
Can we?
Comments can't have tables, so you almost never see any actually tabular data like statistics. I frequently see people misstating copied across data, or getting confused by things that would be simple in a table.
Quoting from the article is very difficult, as laws and guidance often use formatting despite being very simple documents. I've run into this a few times when trying to quote GDPR guidance, and people very often misunderstand quotes.
People frequently struggle making lists, or having problems with ambiguity about which point a comment is replying to.
Code snippets just don't work on mobile.
> then plain text with very limited markup works best since it minimizes the required vertical scrolling and it allows you to see the overall discussion
Sure, if your discussion is short and shallow point-scoring! For in-depth discussion headings or any structure at all is really important.
It can be done in plain text, but I don't commonly see it. For example:
Column 1 Column 2
first second
third fourth
> Quoting from the article is very difficult, as laws and guidance often use formatting despite being very simple documents. I've run into this a few times when trying to quote GDPR guidance, and people very often misunderstand quotes.I have quoted statutes from federal and state laws numerous times as part of a discussions where copying and pasting the text into a plain text format works. For example, a bullet point becomes an asterisk.
> People frequently struggle making lists, or having problems with ambiguity about which point a comment is replying to.
I think it's a lack of convention. I spent a lot of time on email lists, forums and newsgroups and have seen various conventions, but most people didn't struggle to make lists. The most common convention was just to use numbering or asterisks to indicate items in a list:
* item 1
* item 2
3. item 3
4. item 4
> Code snippets just don't work on mobile.Code is one type of text that shouldn't be soft-wrapped, but the lines are frequently too long to render without wrapping on a mobile.
> Sure, if your discussion is short and shallow point-scoring
Not all online discussions are like that. For example, look at the mailing lists for the Linux kernel and git. I've also seen many substantial discussions on sites like this and reddit. In the past, I've learned a lot from newsgroups (usenet).
[1]: Markdown isn't perfect, but it's pretty well-known, and by design mimics a lot of conventions that came from plain text email to start with.
I would agree with what you said about tables (which, in my experience, is an uncommon use case), but the rest can easily be rendered in plain text. Block quotes, in particular, could be done by indenting the text by several spaces (or a tab), just like it's done on HN.
And a message board is absolutely NOT email, so this is totally irrelevant.
It really does. Color, especially helps people find the relevant/critical part.
>This is a reference document, not an email, you twit.
Abot 25% of the emails I write, and 90% of the important ones, are reference material for the people that get them. Screenshots, hghlights, and links to external documentation all make my email communication better, faster, and more useful to the recipients.
That said there are valid uses for formatting. But unfortunately most of the formatted mails are harder to digest than needed. Especially if it becomes a longer exchange and people start highlighting in quoted mails.
And there are also color blind people for whom the color might be even worse than the lack of it.
That has been my experience: make your messages as short and straight to the point as possible. Put the most important stuff first and the gory details only the curious will read, last. That goes for documentation too.
HTML mail gives the illusion that fancy formatting can make up for mediocre writing skills. That's sad, because no amount of bold face, color or indentation can fix an inconsistently structured piece.
You learn that stuff at school, make your tuition fees (and/or the time you have been forced to invested in it instead of being young and having fun) worth it.
IMO HTML email is worse today than it's ever been. Often when I get an HTML email it takes me longer to parse it. On the bright side, the presence of HTML is a decent indicator of a marketing email that can safely be ignored.
Enable that as a filter, and you'd get fired SO FAST in most of the places I work.
I used html for years. Once my email volume reached a certain point, I went back to plain text because I can read it and respond to it much faster.
I find that a very large percentage of the html email I receive is actually hurting readability by way of formatting.
On top of that, a sizable percentage who send html email fail to take accessibility into account and leave out important elements like alt tags.
This is exactly right. In principle, html is just as convenient, but in practice it regularly fails. Something I really hate is a message with big images that add nothing. If I have to scan a message to figure out what's being said, there's a high probability I will leave it for later, which means it never gets read at all.
With top posting, in order to read a mail - especially one that is a few levels deep in a thread - becomes an exercise in jumping back and forth, trying to find context and make sense of who replies to what, finding relevant sentences (often hidden in a mess of signatures).
With bottom posting and proper curated quoting, context is a glance away, and it's easy to see who said what in reply to what.
I'm sure this would be possible with HTML mails as well, but I've never seen it happen. It's all just a mess of hard to find information in the least sensible order imaginable.
Not doing top posting literally has confused recipients of my mails (almost all instances).
So now I'm a top poster as well: i use emails to communicate, not to confuse.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in email?
The reason why is because many clients fold emails that have redundant text in them -- and may hide bottom or interleaved posts within the fold.
Modern clients assume the "Outlook style" -- HTML formatted email, top posting. If you want your message to be read, use this style.
Indeed, it would be nice if the netizens of the world would wake up to this. Sadly, I think it's unlikely to improve any time soon and so I'll stick to top posting and threading in the email client.
the 1% that isn't psychological is how much faster _everything_ is when dealing with a plaintext client (neomutt in my case). "Power Users" use the keyboard to navigate gmail. Normal (neo)mutt users use those _all_ the time and they're faster because there's so much less for the computer to do with each keystroke.
images loading..2%
images loading..15%
images loading..29%
images loading..42%
images loading..58%
images loading..74%
images loading..89%
images loading..100%
____________________________________
| |
| O O |
| O |
| \_/ |
| MY LOGO |
| My catchphrase |
| |
| |
| |
|------------------------------------|
| |
| Hi josho! |
| |
| This is why it's slower to read! |
| |
|____________________________________|Clients load images asynchronously, and no personal email is sent with a logo and catchphrase header. I've never seen that in my entire life and I've been using email with a lot of people, for a long time.
Formatting is an issue however, and the addition of formatting to email can be useful and add to the conversation.
To take the hn example again, the text portion of your comment is broken on mobile because hn doesn't support proper formatting. This has made your comment harder to read.
Probably much of what we enable in email could be restricted without loss of actual useful features. Each feature adds attack surface, complexity, and compatibility concerns that can be avoided by using the simplest possible subset of features.
> There's no good reason to
There's no good reason for using anything other than plaintext in email. You can use slack, riot, or other chatrooms for the rest.
Why require another medium for communication when email works just fine? What is the point in joining a chatroom to talk to one person only to be spammed by everyone else in the room? For those cases where email is insufficient, walking over and talking or making a phone/video call are IMHO better.
Email and phone are in the same boat, or none of them if you simply turn off the alerts.
> another medium for communication when email works just fine
When the topic at hand can only be resolved by many round trips, chat is faster because you don't bounce through different interfaces to read vs type.
> talk to one person only to be spammed by everyone else in the room
Direct message, not a room.
> walking over and talking or making a phone/video call
That is much more likely (perhaps even guaranteed) to be an interrupt, while chat allows the recipient to choose precisely what things interrupt them.
I’m guessing you’ve never actually worked with these chat clients yet?
The difference is light and day. Of course there is annoying parts, but like plaintext email I guess, just having everyone write in the same format soothes the brain.
And no awkward quotes or history in every damn email (because your client is going to mess up that thread!).
As for distractions, that comes down to bad work culture. Hacker News & Lobste.rs are far more distracting for me. I simply get around to slack/email when I get around to it, with the exception of my boss pinging me. Thankfully he only messages me for important things.
If you email me I'm going to assume it's something actually important / something that will have some longevity vs some question on slack. Since people wear headphones due to idiotic open workspace culture, messaging someone on slack is far easier than walking up to them (unless your question is actually important/urgent, of which most are not).
Your phone or video call better be very important. Those are blockers, especially video calls. I prefer to call the latter time-wasters since, well, they're almost always a complete waste of my time. The only useful video calls I've done are with syncing up with another developer, which I cannot do locally now that I work remotely. Aside from this I prefer leaving the luxury of video calls for my parents.
I would disagree, You can make Text-only links look fairly harmless too. The issue is more often that people do not look at all, even in text-mail, what the link points to, not that they can't see it (plus you can hover and the browser still shows the URL once you open it)
>Privacy invasion and tracking
Only if you use an ancient and outdated client that doesn't block external resources by default or proxies them over another server.
>Mail client vulnerabilities
Only an issue if the client rolls their own HTML renderer. Outlook uses the IE Trident Engine, Thunderbird uses Firefox' engine, Gmail transforms using the Chromium engine internally. That means the email client is usually as secure as the respective browser, unless you use a mail client that rolls their own engine.
>HTML emails are less accessible
Possibly, depends on the sender. You can make them more accessible than Text though because you can prevent the screenreader from trying to read out the link or irrelevant information.
>Some clients can't display HTML emails at all
Most mail clients will usually bundle a text-version of the mail, some MTAs also do this on their own. Doesn't really matter in practise since 99.99% of people use a mail client that can display HTML.
It feels a bit like complaining that people on the highway drive so fast that you can't properly merge into the rightmost lane with your oldtimer car.
>Rich text isn't that great, anyway
And tbh, this last one basically seals it; this is a website made to rant from the personal perspective of someone who blocks mails containing any HTML from their services and has quite the history of throwing people using their lib under the bus over personal preferences.
I don't see how any of this is relevant when even the site itself admits that using a multipart mail with both text and HTML is sufficient, why should I even begin to send plaintext instead of doing that?
Unless your mailclient is garbage, it handles multipart and will understand the mail.
>Only an issue if the client rolls their own HTML renderer. Outlook uses the IE Trident Engine, Thunderbird uses Firefox' engine, Gmail transforms using the Chromium engine internally. That means the email client is usually as secure as the respective browser, unless you use a mail client that rolls their own engine.
This is not true. You can't just drop a modern web browser into an email client and have it magically be secure - if you do, your client will be broken and insecure. A huge number of browser features have to be removed - loading external images, stylesheets. scripts, images in stylesheets (except datas URLs, so add a special codepath for that). Things like animations aren't desirable, nor forms, etc. The list of things you have to turn off is huge and getting longer with each browser release. And you had better keep up with those releases, as each one fixes a half dozen security bugs which are inevitable in a technology whose specification alone is a million lines.
Mutt is 1 megabyte.
Limiting HTML mail to an agreed subset could actually be a winnable fight compared to more impractical suggestions.
> Most mail clients will usually bundle a text-version of the mail, some MTAs also do this on their own.
This assumes there is a proper text part (one that actually includes the content of the mail body).
Could you give an example? As far as I know, you cannot do something like making a link look like it belongs to a completely different domain.
https://account:paypal.com.login@verified-account.com/phish
This, to the untrained eye, might at first glance look like a paypal.com link. In fact, it belongs to verified-account.com and it abuses the capability of URLs to contain a username and password to make it look legit. You are about to log in to the site “google.com” with the username “www%2Epaypal%2Ecom”, but the website does not require authentication. This may be an attempt to trick you.
Is “google.com” the site you want to visit?For example
They look different in monospace, but I know Gmail renders plaintext mail with a normal sans-serif.
You can also just spell things mildly wrong. People often auto-correct spelling in their mind without realizing it, ex: microsott[.]com
Note I added [] to avoid linking the sites. Those domains look like they're squatted by suspicious customers already.
>I would disagree, You can make Text-only links look fairly harmless too. The issue is more often that people do not look at all, even in text-mail, what the link points to, not that they can't see it (plus you can hover and the browser still shows the URL once you open it)
It would be difficult to argue that it's not at least more difficult to phish people with plain text.
>Only if you use an ancient and outdated client that doesn't block external resources by default or proxies them over another server.
This works until you click any link in the typical marketing email, or click "show images" to make the email readable. Remember that you have to train these careful behaviors into non-technical end-users.
>You can make them more accessible than Text though because you can prevent the screenreader from trying to read out the link or irrelevant information
This only sounds useful for spam or marketing emails (which are the same thing 99 times out of 100).
>It feels a bit like complaining that people on the highway drive so fast that you can't properly merge into the rightmost lane with your oldtimer car.
This is an uncharitable interpretation. We don't use these email clients because we're old fogeys, but because they're better and more efficient for our workflow and needs.
Inline images are not useful, just attach them. Leave your giant signature with your company logo at the door.
What's left is section headers and bold text. Use asterisks for emphasis and # for section headers and you can communicate quite effectively. We seem to manage pretty well here on Hacker News without most of these features, wouldn't you say?
text describing steps
image of graph
link to graph source
more text
another graph
link to graph source
etc
We're all using email clients that display messages like this well, and it makes communicating complex ideas much faster.I'd give up HTML email if I could still have format=flowed and inline images, but that's not what's on offer.
People manage on HN but on reddit people freely use these formattings fairly regularly and nobody seems to complain about that.
Heck, using the markdown standard for formatting is already going away from text/plain and towards text/markdown, which isn't strictly plaintext.
Plain text does not prevent phishing!
Your paypal account was deactivated, please visit
https://www.paypal.com@google.com to reactivate it.
Looks phishy, no?Switching to neomutt has changed everything for me. I now mmaintain Inbox Zero.
I write in markdown. I convert it into a multipart email with HTML in one keystroke for everyone else.
Other benefits:
I don't know this for a fact, but i suspect that HTML email has got to _suck_ for visually impaired people using screen readers.
plaintext email means no tracking by marketers, or facebook, or anyone else.
plaintext emails are also _way_ shorter. There is so much less crap to mentally deal with when all the marketing BS has been stripped away.
plaintext emails give you a glimpse into just how much you're tracked too. Nevermind the privacy aspects of seeing the real url, you see that the "real" url is multiple lines long because of all the tracking they've embedded in it. It makes you think twice before clicking it.
I'm not one to shout at people for not using plain text etc but I personally quite like it.
- aerc: MIT, Go
- alpine: Apache 2.0 (parts 4-clause BSD), C
- claws mail: GPLv3, C
- Gnus: LGPLv2+, elisp
- KMail: GPLv2 (parts GFDLv1.2, parts LGPLv2.1), C++
- mutt: GPLv2, C
- SquirrelMail: GPLv2, PHP
Side note:
> (context: ProtonMail) It's also recommended that you visit Settings → Account → Identity and remove the default email signature.
It bears noting that free accounts on ProtonMail cannot remove the ProtonMail advertisement in the signature, cf. [1].
[1] https://www.reddit.com/r/ProtonMail/comments/5ageqz/question...
https://paste.sr.ht/~sircmpwn/be4f2eee45046e069a4bb175d9d539...
lumail, c++, gpl
https://paste.sr.ht/~sircmpwn/be4f2eee45046e069a4bb175d9d539...
1. What is your mail client?
Lumail. Console based. lumail.org / github.com/lumail/lumail
2. Can you give me plain english instructions for composing plaintext emails by default?
Lumail is a console-based client, much like mutt. To compose an email your editor is launched. If no editor is configured vim will be used.
Plaintext composition is the only thing that is supported.
3. Does it hard-wrap your plaintext emails at 72 columns?
The mail client doesn't, since it opens a temporary file with your configured editor. You could configure your editor to enable/disable wrapping ..
4. Does it support format=flowed?
As above.
5. When replying to a message, does it put your reply above or below the quoted message you're repying to by default? Can you change this setting? How?
The editor opens a temporary file into which the quoted body of the mail you're replying to has been placed.
I configure my editor to be `vim +/^$ ++1` which puts the cursor above the mail, but below the headers.
You could do something similar to place the cursor at the bottom, but that would require a suitable editor-specific command to be set.
For example:
---
Let's meet at 8 pm.
(Show more from person A).
---
Typically, the context will be clear from reading the reply and the sender. If not, I can establish context by clicking on the link:
---
Let's meet at 8 pm.
> Agreed, when should we meet?
>> I think we should meet face-to-face to discuss this.
>>> This is a super-important discussion.
>>>> I propose to implement HTML mails.
>>>>> Plaintext mails suck. I missed important information because the mail used asterisks instead of bold text.
---
With top posting, I can stop reading the previous mails as soon as I understand what's going on. Consider the opposite with bottom posting: Here I would have to read the entire context from the beginning or am at the mercy of how other people edited the context.
EDIT: Put --- on individual lines. Fixed asterisks formatting.
If you're only replying to things that are specifically relevant to the section (what quoting was traditionally used for), then bottom-posting doesn't make sense.
>Plain text is sufficient for the vast majority of all non-advertising emails.
None of the emails I receive on a daily basis needed to be HTML. The main reason for it, is allowing people to use their company logo in the footer.
Besides making phishing easier (by disguising links, unless you hover over them), what exactly does HTML add?
Most people simply bang out a bunch of text without any formatting: what does wrapping HTML around that add? I have yet to see a layman someone add useful typographic flourishes to any business communications. Any "advanced" formatting has always come from marketers.
Not in my experience. They hit reply, type something at the top with whatever the defaults are, and hit send.
> Is it really that hard to wrap your head around the fact that formatting is useful for communication?
I have all of Edward Tufte's books, as well Bringhurst's Typographic Style, and Chicago: I am aware of the usefulness of typography. I simply have not seen it in my day-to-day e-mails at work or in personal life (except for marketing spams).
HTML emails are mainly used for marketing - that is, emails you probably don't want to see in the first place. The few advantages they offer for end-users, such as links, inline images, and bold or italic text, aren't worth the trade-off.
and more at https://useplaintext.email/#why-plaintext
For example, I'm signed up for marketing emails from several airlines and these routinely save me money when booking vacations. Cheap airline tickets are a limited resource, so real-time notification of new availability has financial value to me.
Same with end-of-season sales for clothing I like. One company gives email recipients 1-2 days to shop before the sale is posted publicly on the website and social media.
It also ignores the tremendous popularity of email newsletters, which employ HTML formatting to improve the user experience, exactly the same way content websites do. In fact HTML email newsletters are often better than websites, because email clients don't execute javascript. The advertising is far less intrusive.
I know advertising is effective, it IS manipulating me. That's WHY I don't want it. "I don't want them" is not contradicted by the success of marketing, it's reinforced by the success of marketing.
Given all the communications that you receive, how often have typographic 'flourishes' been added in a useful way that would need mark up more advanced that ASCII/Unicode?
Given the following (from the article):
* HTML as a vector for phishing
* Privacy invasion and tracking
* Mail client vulnerabilities
* HTML emails are less accessible
What exactly does adding mark up give you on a day-to-day basis over a text/plain Content-Type?
You'd be better off pushing people to using email for communication in place of walled-garden IM or social platform du jour (which I also think will be a losing battle in general, but perhaps more worthwhile), in which case being able to make your email look nicer might even be a draw.
It sounds like the author prefers dubious advantages to real improved security.
That's quite ridiculous considering that according to him HTML emails are:
>"... a security nightmare, are mostly used for advertising to you and tracking you, are less accessible for many users, and don't offer anything especially great for it."
Encrypting the data transfer doesn’t improve any of the HTML email security issues. So I fail to see how that would be “real improved security”.
But I do share the authors sentiment on the failure to not using open standards of both Protonmail and Tutanota. So maybe I’m biased.
Either way, that has absolutely nothing to do with the security issues of html email. Eg phishing and tracking still works when you decrypt the message and open it.
Or I would, but pasting seems to be broken on my phone as well. If anyone can search HN for "Sir_Cmpwn Protonmail" and link the relevant comment I'd appreciate it very much.
--Actual response I got when I complained to an IT admin at a former company that Exchange had started eating all plaintext versions of emails
Yeah, this is the part that is eventually going to bite us ... hard. It is just straight up insane to allow random entities access to the vast attack surface of a web browser. Unfortunately no one seems to even care about present day ongoing attacks. We will have to wait until someone comes up with a worm that takes down email and possibly the whole net.
https://snyk.io/blog/how-to-crash-an-email-server-with-a-sin...
Other than that "Hackerwahn" ("hacker mania") sounds like a nice term for this as mostly low-level hackers seem to show this kind of behavior. (Note: This is not meant as an insult or a generalization.)
Partly because many email-clients will list attachments below the mail content. And since it is standard practice to include the previous mail when responding you have to scroll a kilometer to get to the bottom with the attached images.
That is just unusable. Yes, it is an issue with bad clients and not plaintext. But nonetheless it is a big issue.
So if people followed this advice you wouldn't have to scroll a kilometer for attachments (unless someone actually wrote an email that long).
Sending me such a thing is equivalent to telling me "Fuck you, your time is worth nothing to me."
You mention attachments, which implies you've been included in all the previous emails. In which case, your email client should be splitting them (often referred to as "conversation" view).
Otherwise, how does it make any difference if the infinite nesting is at the top or the bottom? Or by "top posting" do you just mean replies without trimming?
And in either case, reading something from top to bottom is certainly easier than to read something in the order of: Last 3% of the message, followed by the bits that are 93-97% into the message, followed by the bits that are at 86-93% of the message, followed by the bits... every email is like watching Memento. With each scene in whatever typeface that particular person's email client thought was a good idea to enforce upon me. And sometimes purple.
Yes, everything you need to know ought to be in the mail itself but often you need context or surrounding details or just some information as to why the question arose.
You can in the very most cases figure that out by skimming a couple of previous mails in the thread. Very quick and saves another round trip, which can be very annoying if you are on different time-zones.
> "But if plaintext is so good, why is this page written in HTML?" >This is a reference document, not an email, you twit.
But if the email is plain text, then that's not an issue.
In more that 20 years I cannot remember when I last saw a well marked up HTML email that wasn't miss aligned due to missing closing tags or some other stupid mistake. They are always filled with utter useless and distracting crap and for some reason people tend to think that that is better than simply focusing on the flipping point of the message.
And no, I don't want people to embed screenshots in the message body, I much prefer attachments.
Claws-mail has a beautiful setting called: "Render HTML messages as text", and if that doesn't work because the HTML message is too messed up -> Delete to trash!
Edit: People can't figure out how to make relative well formed HTML for the browser, yet someone thought it was a good idea to introduce the mess to email. Go figure!
These instructions really only help you to send plain text email. It's unclear if the receivers care either way.
I am sympathetic to the issues around HTML email but it's a hard ship to turn.
Emails aren't web pages, but they do benefit from formatting (bold, italics, links, paragraphs), all of which lead to better emails overall. After all, everyone has their plaintext style (asterisks for emphasis, or maybe underscores, etc.) and HTML formalizes those conventions in a way that has been standard for decades and even centuries if you consider typesetting in general.
I like the idea of HTML email better than I like the implementation. I'd love to see a minimal HTML subset that only included formatting (including paragraphs, indentation and blockquoting), images and links. No tables, no box model, fonts or styling. We can keep full HTML for fancy marketing emails, but letter-form email should be simple and impossible to abuse.
These days, of course, most email is HTML simply because that's the default for almost all email apps (Gmail, Outlook, Spark, Polymail, etc.). It's not true that only marketing emails use HTML, as the author claims.
This is counter to my own experience. I am using (plain text) email since 27 years. Including inline quoting and avoiding top posting at all costs.
People used bold (not sure how to render a '*' in HN) /italic/ and _underscore_ consistently on lists, newsgroups and -- rarely, as seldomly needed -- in private correspondence.
I learned how to do this by example. Everyone being very disciplined about this in the 90's still.
This started deteriorating rapidly in the wake of eternal September [1] and Outlook becoming the standard client in the corporate world, using HTML as default. Personally I blame Outlook for HTML email hell foremost.
It is very simple to display plain text email, omitting aforementioned formatters and applying them. The same goes for displaying in a proportional font (detecting intended indentations from the original and replicating them with tabs, on the fly).
Using such formatters is just another (and not even alien) form of inline markup. Actually the very one that inspired markdown, ReST, etc.
The only reason people use HTML email is that it's the default. Not that it's better in any way.
The average user simply doesn't know any better.
There are people in this page of comments right here, explaining their use of HTML, their reasoning for using it, and how it's better in many ways.
You had me convinced up until this part. Marketing emails are, IME, the most prone to being abusive. If anyone deserves to have their fingers rapped every time they try to get fancy with HTML mail, it's the scumbags that send marketing email (which is by definition spam).
So, to avoid that, I use HTML on my emails. Yes, it makes them a bit bigger. Yes, they go against my very belief. Yet, they look like I want them to be seeing.
I ended up adding a question to the FAQ to address this issue specifically, though people still get confused from time to time. There is a touch of irony about it - to get HTML tags to work, you have to be in plain text, not HTML mode. Once you're in HTML mode all that's needed for formatting is the client's own formatting controls.
Markdown supports arbitrary HTML, and so has exactly the privacy and security implications of HTML (though there extensions available which limit this, and are standard in some markdown processors and expected by default in some markdown variants.)
[1]: Later some tools such as thunderbird or configuration for Apple Mail and Gmail are mentioned. They should be top and center.
I've also disabled wrapping (as recommended in that document), however I'm not a big fan of it. I do think that plain text wrapped at 72 or 80 characters looks much nicer. I wish thunderbird allowed me to select portions of the text to wrap, or to disable wrapping for selected portions (e.g. a code snippet). Is this handled better in other email clients?
It will because every line would end in a single trailing whitespace character. But that doesn't mean you cannot use Thunderbird with format=flowed enabled to respond to patch emails. Unless you're including a patch in the message and expect someone to use git am to apply it to their local git repo, having format=flowed set won't matter.
> I wish thunderbird allowed me to select portions of the text to wrap, or to disable wrapping for selected portions
You can sort of do it by copying unwrapped text from another program and pasting it into Thunderbird as quoted text (ctrl-shift-o or paste as quotation). But you will need to manually remove the quote markers from the beginning of each line.
However, there is a higher risk (than with hard-wrapped) that users can mangle code with format=flowed.
:r file-containing-patch
And then visually highlighting text and running: :'<,'>s/$/\s/
to append whitespace to lines you don't want to be hard-wrapped in clients that support format=flowedIs this abuse of language common? Am I actually on the side of bottom-posters because they really mean "write anything you have to say underneath the quote it pertains to" rather than "reply to everything at the bottom"?
I really REALLY wish they'd make a new release (there is work on still going on but the latest release is from 2013). SquirrelMail is my favorite webmail since it was first available on a shared host i used early 2000s or so. So simple and lightweight. But the lack of releases apparently made Debian to remove it, then followed by several other hosts. I could set up a VPS to have it myself but i do not really want to bother with mail administration (if anything, not wanting to bother with mail was one of the main reasons i switched to shared hosting - which initially had SquirrelMail, to my delight, but sadly got rid of it some months later).
Early email systems could not, but because they ran on systems that could only display simple text, the natural assumption is that they were plain because of technological limitations.
Once GUI systems became the norm, removing that limitation, it was inevitable that email would follow.
This is not to say that HTML email is good. It was inevitable that email would support rich text, inline attachments, and stuff like that that, but HTML did not have to be the way that was done.
> When you reply to an email, many email clients will infer and include a quoted version of the message you're replying to above the text of your reply, or else prompt if the context is ambiguous. This is normal-- it happens in clients that conform to RFC -1 which use data gleaned from your input to prevent long email threads containing the entire history of the discussion in an increasingly long and nested footer on every email. This is called "top post prevention" and is required in all conforming clients. Please email your admin if your client doesn't conform to this specification.
I am a bit tired of this campaign against Protonmail by Sir_Cmpwn. Yeah you can't use SMTP directly. But if he was being objective would gmail not get a disclaimer "Google read your emails to work out what to sell you, and pass this on to government surveillance too"...Outlook is not recommended because... insert whichever gripe about protocols is on your mind.
It could be a different format altogether - something third as the golden mean.
Alternatives: Markdown (we need specification for that) or HTML v2.0 or something else.
Requirements to such format:
- it shall provide only one way of text -> rendering and rendering -> text so WYSIWYG can be implemented in non-controversial manner.
If HTML then HTML v. 2.0 as the last version that supported WYSIWYG editing (as it has no CSS). CSS is allowed to be applied by email agent application (user's theming) but not from the body of the message.
Wait what?
Maybe you're subscribed to the wrong newsletter, but in my case, I'm subscribed to products / brand I like, I'm aware that I will receive advertisement / product updates and I'm fine with it !
I'm a happy GMail (android+webmail) user because the usability is good enough and I don't need to install and configure stuff.
If I wanted to send plaintext email from my Android phone, is there a reasonably easy and usable way to do it?
IMAP/SMTP needs a bridge or is inaccessible because of the needed decryption step.
It actually looks pretty nice and supports maildir, so I might run a backup and point it at mine for a couple days to see how it holds up.
It's for things (apps etc.) you can try out. Not for essays.