Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styles aren't applied inline in email itself, but in preview it's ok #29

Open
maciej-sokolowski opened this issue Sep 3, 2020 · 0 comments

Comments

@maciej-sokolowski
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant