Skip to content

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

@maciej-sokolowski

Description

@maciej-sokolowski

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions