News for hackers. Stuff that matters.
Re:Why Does Email Development Have to Suck? – Explaining all... by epolanski on Thursday August 17, 2023 @05:49PM (#37168632)
There's no chance a business today can work with plain text documents at scale.

Virtually all email clients support html since a decade and the expectations user have todays have changed.

To put it differently, it looks unprofessional.

Re:Why Does Email Development Have to Suck? – Explaining all... by legitster on Thursday August 17, 2023 @05:54PM (#37168696)
To add to this, plaintext emails are a much bigger avenue for phishing, MITM attacks, and scammers.

Especially when dealing with technology, consistent branding actually has an important safety factor for consumers.

Re:Why Does Email Development Have to Suck? – Explaining all... by dsr_ on Thursday August 17, 2023 @06:02PM (#37168774)
There is nothing in the average internal email that requires HTML, much less CSS.

There is nothing in the average external email that requires HTML or CSS.

There is no useful content in any email that requires JavaScript.

"looks unprofessional" is cultural, and of the same significance as green vs blue text bubbles in your SMS messaging system.

Re:Why Does Email Development Have to Suck? – Explaining all... by yakshaving_jgt on Thursday August 17, 2023 @06:07PM (#37168850)
This is an absurdly wrong, yet characteristically HN take.

Transactional mail typically requires some hyperlink for the average user.

Re:Why Does Email Development Have to Suck? – Explaining all... by dsr_ on Thursday August 17, 2023 @09:01PM (#37170331)
No, it doesn't. Email is a great feedback medium.

"If you want to continue with the subscription, reply with the word YES on a line by itself. You can put comments on other lines and we will read them."

[email protected] is one of the stupid innovations by people who can't automate their email. Transactional email gets handled by robots and fed into a ticketing system when it goes awry.

Treat your customers like customers, not consumers.

Re:Why Does Email Development Have to Suck? – Explaining all... by JimDabell on Thursday August 17, 2023 @11:11PM (#37171038)
Transactional emails are things like reset password emails. You’re really going to build your reset password functionality by having people email their new password to you?
Re:Why Does Email Development Have to Suck? – Explaining all... by corporage on Thursday August 17, 2023 @11:18PM (#37171076)
This is so out of touch, even for HN, that I for a brief moment considered whether I had experienced some kind of traumatic brain injury or stroke.
Re:Why Does Email Development Have to Suck? – Explaining all... by yakshaving_jgt on Friday August 18, 2023 @03:54AM (#37172536)
Why would transactional mail come from [email protected]?

Transactional mail is not marketing mail.

It’s not a good look to declare things as stupid when you aren’t sure what the discussion is about.

Re:Why Does Email Development Have to Suck? – Explaining all... by thiht on Friday August 18, 2023 @05:21AM (#37173155)
Now you need to deal with « yes », « Yes », « YES. », HTML wrapping, user signatures, dangling spaces, etc.

I’ve worked with a system that let users order domain names by email and it was a nightmare to maintain. Don’t EVER build a system that relies on reading and parsing emails sent by users, it WILL fail horribly.

Re:Why Does Email Development Have to Suck? – Explaining all... by memefrog on Saturday August 19, 2023 @01:01AM (#37185680)
> Now you need to deal with « yes », « Yes », « YES. », HTML wrapping, user signatures, dangling spaces, etc.

Oh no, you need to find a line of text in a string that contains the word 'YES'. How incredibly difficult. Are you even a programmer? This is entirely trivial.

Re:Why Does Email Development Have to Suck? – Explaining all... by thiht on Saturday August 19, 2023 @02:55AM (#37186243)
My point is you have to trust a user to input some raw text somewhat reliably. Have you dealt with users at scale? Whenever you provide a raw field in a form, the values are pathetic, tons of users can’t input things correct

Maybe they’ll write « yeah » or « YE » or « oui », because that’s what users do

Re:Why Does Email Development Have to Suck? – Explaining all... by memefrog on Saturday August 19, 2023 @03:03AM (#37186297)
If the user can't follow basic instructions then they'll have to try again.

Those users absolutely can write 'YES'. They're perfectly capable of doing so. They don't do so because they're lazy. We all know people that simply refuse to read any kind of instruction on a computer screen. They will skip past any and all prompts. Guess what? That's their problem, not yours.

Stop enabling laziness!

Re:Why Does Email Development Have to Suck? – Explaining all... by reichstein on Saturday August 19, 2023 @05:09AM (#37186939)
Some businesses like to retain users, and not alienate them using obscure, hard-to use-user interfaces, and blaming the user when they get it wrong.

If you can't create a way to say "yes", which is at least as easy to use as checking a checkbox and clicking a button, why should I assume you're capable of, well, much of anything.

It's not that it looks unprofessional. It looks either incompetent, or deliberately obtuse. In either case, I'll take my business elsewhere.

Re:Why Does Email Development Have to Suck? – Explaining all... by memefrog on Saturday August 19, 2023 @06:33AM (#37187348)
[delayed]
Re:Why Does Email Development Have to Suck? – Explaining all... by vntok on Saturday August 19, 2023 @09:10AM (#37188408)
> Oh no, you need to find a line of text in a string that contains the word 'YES'. How incredibly difficult. Are you even a programmer? This is entirely trivial.

"Yes alright renew my subscription, just make it start in two weeks this time"

Your "solution" fails immediately here, because it gives people a false idea that they are in a dialogue with you whereas they are actually just expected to reply in a binary way.

Finding "a line of text in a string that contains the word 'YES'" is indeed trivial, however if that's all you can think of you should not be employed in any position of responsibility as it demonstrates a profound lack of judgement, understanding of how real people behave, and general business acumen.

Re:Why Does Email Development Have to Suck? – Explaining all... by 9dev on Saturday August 19, 2023 @10:30AM (#37189173)
How condescending can a single software system be..? A reality check might help. Most of us write applications used not by nerds, but ordinary human beings. They don’t want to perform weird ritualistic dances just so the computer does beep-bop - ”I understood what your intention was just fine, but do it right for me!“.
Re:Why Does Email Development Have to Suck? – Explaining all... by CRConrad on Wednesday August 30, 2023 @03:10AM (#37318641)
If you're already subscribing to an e-mail list, how the fuck is replying to an e-mail a "weird ritualistic dance"?!?
Re:Why Does Email Development Have to Suck? – Explaining all... by asielen on Saturday August 19, 2023 @11:27PM (#37195815)
Have you ever worked with the general public? At least half of adults would fail at that basic task.

The point of a business is to make money. You make more money by making the experience for your customers as easy as possible. If you don't, another company will.

Re:Why Does Email Development Have to Suck? – Explaining all... by CRConrad on Wednesday August 30, 2023 @03:13AM (#37318654)
If someone wants to unsubscribe, that's probably because they don't want to be your customer any more anyway. Unsubscribing for a now-irrelevant-to-them e-mail list may be a problem for these ex-customers, but it isn't yours any more.
Re:Why Does Email Development Have to Suck? – Explaining all... by gilcot on Saturday August 19, 2023 @02:00PM (#37191379)
As previously written: Treat your customers like customers, not consumers.

Or worse then, like idiots that cannot understand a simple sentence and write back « YES »

Re:Why Does Email Development Have to Suck? – Explaining all... by toast0 on Friday August 18, 2023 @01:46PM (#37179390)
You can certainly put urls into a text/plain email. It helps if your urls aren't terribly long and don't have characters that are questionable in urls.

w3c suggests surrounding them with angle brackets [1], but I can't find a source that makes more than a suggestion. By reports, some mail user agents, and some users will include the trailing > in the url they provide to their web user-agent, so that's something to consider and make sure the destination of the link can handle.

Putting links on a line by themselves works well too.

If you don't know what a user prefers, it makes sense to send a text/plain with links as I've described, as well as a text/html with links in tags, because tagged links may be friendlier to some users and some mail user-agents are tragically bad at their job.

[1] https://www.w3.org/Addressing/URL/5.1_Wrappers.html

Re:Why Does Email Development Have to Suck? – Explaining all... by yakshaving_jgt on Friday August 18, 2023 @02:43PM (#37180233)
Yes, you can put them in there, but then you're relying on the recipient's client to turn that plaintext url into a link the recipient can actually click on, as opposed to having to copy and paste the url into their browser address bar.

Right? Or do I have something wrong?

Re:Why Does Email Development Have to Suck? – Explaining all... by toast0 on Friday August 18, 2023 @04:29PM (#37181668)
Yeah, but most email clients do linkify urls in text/plain emails. Heck, an awful lot of email clients linkify urls in text/html emails.
Re:Why Does Email Development Have to Suck? – Explaining all... by JimDabell on Saturday August 19, 2023 @02:05PM (#37191423)
All the mail clients I use support this, including URLs that wrap onto new lines. Yet I still receive some emails with broken links if they wrap onto new lines. Somewhere along the way, these break before getting to my mail client. I never experience this with HTML email.

If you send long URLs – for instance password reset links with tokens in them – then you need to send them with an HTML part if you want them to be as reliable as possible. Leaving long URLs at the mercy of not just mail clients but the entire mail transmission apparatus, cannot be relied upon.

Re:Why Does Email Development Have to Suck? – Explaining all... by unethical_ban on Friday August 18, 2023 @05:42PM (#37182538)
Some people want marketing emails. Did you know some people sign up for them voluntarily? They're like newsletters of old, but electronic. And it arrives in your mailbox, ready to be rendered!

Furthermore, many emails are direct links to status pages of orders, account verifications, password resets, and so on, which are definitely most functional as a clickable URL.

Re:Why Does Email Development Have to Suck? – Explaining all... by 7952 on Saturday August 19, 2023 @12:01PM (#37190092)
Why stop at just supporting the yhe average email though? Tables/embedded images/hyperlinks can be very useful for communication. I can send them without having to worry about platforms/software/SharePoint etc. It is by far the most reliable way of sending a simple, interoperable document we have. And you can easily refer back to it later. There is no good reason not to use html for communication between actual people.
Re:Why Does Email Development Have to Suck? – Explaining all... by asielen on Saturday August 19, 2023 @11:21PM (#37195793)
Any formatting in email is html.

There is nothing that requires any text to have any formatting. But basic formatting can help readability. There is a reason to include bold or italics. Or headings. Or maybe even a simple diagram/image, or make links more approachable than the raw url.

Snail mail letters can include all of the above (except links), why not email?

Even when written memos were the norm in business, they still had company letter head.