premailer / actionmailer_inline_css

Seamlessly integrate Alex Dunae's premailer with ActionMailer.
http://madebynathan.com
MIT License
75 stars 25 forks source link

Adding schema.org markup to e-mails. #22

Closed tristandunn closed 9 years ago

tristandunn commented 10 years ago

In attempting to add actions to e-mails I noticed the premailer remove_scripts option is true by default. But actionmailer_inline_css doesn't support passing custom options to premailer.

I'd like to patch one of the libraries to allow it, but unclear on which I should do:

maxmcd commented 9 years ago

fyi, as a quick fix you can just use the Microdata format: https://developers.google.com/gmail/markup/getting-started

tristandunn commented 9 years ago

Closing this, since it's old and there's the Microdata solution.