While working on the “email this page” feature in Intervals we needed to find a way to merge HTML & CSS files into a Frankenstein-like document that gmail would honor. Quick back story — gmail doesn’t play nice with conventionally defined CSS. We came up with the Emogrifier, a PHP utility we are adding to the Pelago collection of Sidecar Projects.
Visit www.emogrifier.com to try converting some of your HTML web pages to gmail friendly emails and read more about the project. While you are there, feel free to download the source code for use in your own applications.
Thanks. You saved my bacon. After reviewing this comparison of CSS Support in email clients:
http://www.campaignmonitor.com/css/
I was near despair, but emofrigier did the trick.
Great tool.
What a great tool!
guys,
Awesome script! Just saved me a ton of time!! THANK YOU THANK YOU THANK YOU!!
Thank you!
This is an amazing tool, the mere existence of this tool answers so many of those “why is gmail fucking up my html” questions that it’s just unbelievable. (anybody have trouble with tables? hah!)
Thank you thank you, THANK YOU!
If there’s ever a need for a reference or a testimonial, email me!
For those who our interested in a C# port of the PHP emogrifier code, Jonne Kats has created a version of the Emogrifier for you. Check it out at:
https://github.com/Jonne/CssFlattener
Thanks Emogrifier!!! You Rock!! gmail was the only mail client that was giving me problems.
Thanks for amazing tools!
Emogrifier is on GitHub now. Fork it:
https://github.com/jjriv/emogrifier