by sundance0 · 12y ago · 0 comments
Also, if you didn't catch it in there: the [premailer][1] library is awesome, and helps make email templates more manageable (use CSS/LESS/SCSS styles like normal, then run your HTML email through premailer before shipping and it'll inline everything for you). I use the Python library with Django to preflight emails before sending. Works like a charm!
[1]: https://github.com/peterbe/premailer/tree/master
Also available in Ruby, Node, and PHP flavors
Several months ago, when I was using Zurb Ink to design some emails, the python premailer would choke on some of the responsive CSS. I had to switch to the ruby premailer gem to get things to work. It looks like the python premailer has since been updated, so perhaps it works now.
Yes, but not in the 1990s, which is the era HTML email finds itself stuck in.
Such a pain to build out a inlining and testing workflow for content that should be in some kind of cms.