Live data from Hacker News

Why does email development have to suck? – Explaining all the 's and 's

dodov.dev

181–183 of 183 posts

Re: Why does email development have to suck? – Explaining all the <tr>'s and <td>'s

#181
post #157

Earlier quoted context omitted.

> HTML email is not merely an HTML file sent by email – it is the email. I'm not sure if the semantic distinction makes sense. An attached file in an email is the also the email. Both HTML, images, and other content types are all sent in the same manner in the body of the email.

> Both HTML, images, and other content types are all sent in the same manner in the body of the email. This is not the case. In the case of an attachment, the message body is multipart/mixed, where one part is the actual message the sender typed and other parts are the attachments. In the case of an HTML email, the message body is multipart/alternative, where the parts are two or more representations of the actual me…

> In the case of an attachment, the message body is multipart/mixed, where one part is the actual message the sender typed and other parts are the attachments.

This is not correct. In multipart/mixed you can have any number of body parts with any mixture of content types, including sub nested multipart/mixed body parts. There is nothing that separates a "message" from an "attachment" except for presence of a content disposition header.

> If what you were saying were true, you wouldn’t be able to send an HTML document as an attachment to an email without it being interpreted as the message typed by the user.

Indeed, old email clients may not understand mime formatting formating which is why it is recommended that in a multipart/alternative body you should have the plaintext body part first since the entire body will be displayed.

The only reason why a HTML document, that is a body part of a multipart/mixed message, should not be displayed as part of that message is if it has at content disposition header.

There is no clear difference between "message" and "attachment" in the email format spec. Those two categories come from how email clients represent the presence or absence of a content disposition header.

The the text/html content type was not indeed not explicitly part of the mime type standard, but it was a standard that was explicitly designed to be extensible.

It was intended that subtypes of "text" would be human readable as raw data. If HTML emails aren't human readable without piping into an external program and aren't a multipart/alternative type with the plaintext version first, then it is very reasonable to complain that the sender is doing a bad job.

Re: Why does email development have to suck? – Explaining all the <tr>'s and <td>'s

#182
post #149

Earlier quoted context omitted.

If you can't reply to an email with 'YES' then you certainly aren't smart enough to have a good enough job to pay any reasonable amount of money.

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!“.

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 the <tr>'s and <td>'s

#183

Earlier quoted context omitted.

If you can't reply to an email with 'YES' then you certainly aren't smart enough to have a good enough job to pay any reasonable amount of money.

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.

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.
Post reply on HN