4 ms·
HTML in email is legacy hell. I wonder if someone wants to create a new MIME-type like text/html+css, and clients who want can implement it. In theory you coul
by bellyfullofbac 6y ago
HTML in email is legacy hell. I wonder if someone wants to create a new MIME-type like text/html+css, and clients who want can implement it.
In theory you could have representations of the message like video/mpeg4 and text/plain, and depending on the client capabilities and configuration, the receiver could watch a video or read plain text. The information content of the 2 (or more) don't even have to be the same! Found this out when trying to parse text out of emails into a CRM system, another system sent information in the HTML part, but an empty plaintext part.
- dubcanada 6y agoI guess that's sort of what AMP is.
- Ashanmaril 6y agoI didn't even know that was a thing until the other day where I saw someone post on Twitter that they got an email that had basically a web storefront within the email. It was selling some product and it had a color selector and cart, the whole thing. I assume the checkout process would kick you to their actual website but it's still kinda crazy.
- iamacyborg 6y agoHTML in email is relatively uncomplicated once you understand the main limitations. The bigger challenge I find is setting the right expectation for what one can do in email, vs what certain stakeholders want to include in an email.
- D13Fd 6y agoIt boggles my mind that Microsoft hasn't updated the Outlook desktop app to use the rendering engine from Edge rather than the 10+-year-old IE engine. That would resolve so many e-mail rendering issues. I imagine it must be due to security concerns.
- meehow 6y agoOutlook comes with MS Office, so it's must render HTML with MS Word. Super logical ;)
- guitarbill 6y agoI imagine it has less to do with security, and more with backward-incompatible changes.
- vxNsr 6y agoYea it’s bec you can send emails directly from word which I do all the time.
- koolba 6y agoIf they go that route I hope they explicitly ban non-inline content. I’ve seen some hilarious plaintext content. One of the best was the raw template with the {{ customerName }} place holders.
- sensanaty 6y agoEmails are pretty simple once you realize you just have to stick to HTML <table>. Forget everything you know about the last 20 years of webdev improvements, like the ability to center something painlessly via flexbox, and you're good to go!
- iamacyborg 6y agoWho needs flexbox when you can simply use <center>! /s
- smilbandit 6y agoOutlook on Windows is such a pain in the ass. Who ever thought using Word to render HTML emails was a good idea should be pink bellied.