Coder Social home page Coder Social logo

No plain text version about mjml-rails HOT 3 CLOSED

sighmon avatar sighmon commented on September 26, 2024 1
No plain text version

from mjml-rails.

Comments (3)

sighmon avatar sighmon commented on September 26, 2024

Hi @caitlin,
In my app I'm sending multipart emails with both HTML & plain text, the filenames are:
signup_confirmation.mjml and signup_confirmation.text.erb
Does that help/work for you?
Best, Simon.

from mjml-rails.

caitlin avatar caitlin commented on September 26, 2024

Hi Simon,
Yeah, that helped! I had tried that (and all other variations of extensions), but I think my layout file was messing with it. Once I put the whole template in a mjml (with no layout), it started to pull in the plain text.

Thanks!

from mjml-rails.

sighmon avatar sighmon commented on September 26, 2024

@caitlin oh fantastic. If you can think of a way to improve the gem to make it work more closely to the way you expected it, please don't hesitate to make a pull request.

Best, Simon.

from mjml-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.