Skip to content

do automatic plain text generation as well? #10

@jefflab

Description

@jefflab

I have forked this project to do the following things:

  • Use a subclass instead of alias_method_chain into ActionMailer
  • Automatically generate text version of multipart html emails so you don't have to maintain 2 versions of the same email
  • Use convention for specifying css file name rather than requiring you to declare it in each email method

My fork is here:

http://github.com/jefflab/mail_style

The current code is just a quick-and-dirty implementation. It rips off the html_to_plain_text logic from premailer and doesn't have tests around that part. I'd be happy to continue cleaning up the code and adding specs if others would benefit from the effort. Would you be interested in accepting this change in design if I was willing to do the work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions