actionmailer_inline_css
actionmailer_inline_css copied to clipboard
Styles aren't applied inline in email itself, but in preview it's ok
Hello, i have a problem. I have mailer layout and in
i includes styles:= stylesheet_link_tag 'mailers/application', media: 'all'
and it's working on Action Mailer Preview- styles are converting into inline styles, everything it's fine. But the problem is when i'm sending the real email (invoke method through the console to be precise, and gmail is the receiver). None of styles aren't applied in inline-way (or as normal styles nethier) and mail looks almost like non-styling html. Can anyone know the answer why is that happend?