News for hackers. Stuff that matters.
Re:Why Does Email Development Have to Suck? – Explaining all... by hdodov on Thursday August 17, 2023 @12:03PM (#37163785)
When I first got introduced to email development, I remember I wanted to throw myself off a cliff. I couldn't believe how nonsensical everything was. I kept track of everything in a little text document, which I've now turned into a post.

If you happen to be starting out with emails, I hope this can get you up to speed with exactly how everything is fucked. And if you're an Outlook survivor, I hope you'll find something you can relate to…

Re:Why Does Email Development Have to Suck? – Explaining all... by mdgrech23 on Thursday August 17, 2023 @05:30PM (#37168390)
For the most part you can kind of have header and a footer which you reuse across all email and then just more or less text in the middle. Maybe an image every once in a while. If you can get business partners to agree to that I've found that to be an ideal middle ground.
Re:Why Does Email Development Have to Suck? – Explaining all... by scrollaway on Thursday August 17, 2023 @05:38PM (#37168487)
Since you mention MJML: I wrote a little tool called mjmgr which was meant to be a prototype of a MJML email manager for a bunch of providers. So that you can keep the source code of the MJML email checked in, but deploy it as compiled templates across various email template providers.

https://github.com/siguelaola/mjmgr

I only really did sendgrid and mailgun, but as a POC it worked well. Just putting this out there because it's useful but I don't touch it much anymore.

Re:Why Does Email Development Have to Suck? – Explaining all... by shortformblog on Thursday August 17, 2023 @08:05PM (#37169958)
This is cool! My CMS (Craft CMS) has an MJML plugin as well as some good inlining plugins, making it possible to build emails using the CMS as the base. My goal was to have a system that put email templating on equal ground to content display, and MJML was a really key part of that. Love seeing the cool ideas MJML has inspired in the ecosystem.
Re:Why Does Email Development Have to Suck? – Explaining all... by dsr_ on Thursday August 17, 2023 @06:04PM (#37168805)
If you were thinking more clearly, you would want to throw whoever asked for "email development" off a cliff.

People choose the wrong targets for violence.