Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zurb Ink Email not Formatted Properly in Gmail

I am using a Zurb Ink template to send an email. When I view the email in mailcatcher (from the development server) everything looks fine, but when I receive an email from the production server (to my gmail account), all of the CSS styling is gone.

The CSS is all inline, and I am using the basic template from Zurb.

like image 953
Abram Avatar asked Nov 08 '13 19:11

Abram


1 Answers

I missed a step over at Zurb's site.

After editing your template you need to run the code through the CSS inliner, before the email HTML is ready to send.

Note: You will need to add any ruby code (etc) to the email AFTER running it through the inliner, as it will be stripped out by the inliner.

like image 156
Abram Avatar answered Oct 21 '22 05:10

Abram