{"id":15487360,"url":"https://github.com/dblock/actionmailer-text","last_synced_at":"2025-09-20T04:32:20.666Z","repository":{"id":29996192,"uuid":"33543673","full_name":"dblock/actionmailer-text","owner":"dblock","description":"Automatically insert a text/plain part into your HTML multipart e-mails.","archived":false,"fork":false,"pushed_at":"2018-10-15T20:29:48.000Z","size":17,"stargazers_count":17,"open_issues_count":3,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-27T18:16:46.912Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dblock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-07T13:07:38.000Z","updated_at":"2024-06-30T06:36:40.000Z","dependencies_parsed_at":"2022-09-07T12:22:16.396Z","dependency_job_id":null,"html_url":"https://github.com/dblock/actionmailer-text","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Factionmailer-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Factionmailer-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Factionmailer-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Factionmailer-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dblock","download_url":"https://codeload.github.com/dblock/actionmailer-text/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233484526,"owners_count":18683099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T06:25:31.189Z","updated_at":"2025-09-20T04:32:15.425Z","avatar_url":"https://github.com/dblock.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"ActionMailer::Text\n==================\n\n[![Build Status](https://travis-ci.org/dblock/actionmailer-text.svg?branch=master)](https://travis-ci.org/dblock/actionmailer-text)\n[![Gem Version](https://badge.fury.io/rb/actionmailer-text.svg)](http://badge.fury.io/rb/actionmailer-text)\n\nAutomatically insert a text/plain part into your HTML multipart e-mails.\n\n## Installation\n\n```ruby\ngem 'actionmailer-text'\n```\n\n## Usage\n\n```ruby\nclass WelcomeMailer \u003c ActionMailer::Base\n  include ActionMailer::Text\n\n  default from: 'welcome@example.org'\n\n  def welcome(user)\n    @user = user\n    mail(to: @user.email, subject: 'Welcome!') do |format|\n      format.html { render 'welcome' }\n    end\n  end\nend\n\n```\n\n## Details\n\nThe MIME standard allows systems to send e-mail with multiple parts: plain/text for business-efficient devices such as the Blackberry, and text/html for web-based e-mail readers, such as GMail. Furthermore, ActionMailer supports multiple template formats: create an .html.haml template along with a .txt.haml template to generate both. We also know that text/plain email helps deliverability, but we believe a disproportionately small amount of text e-mails are actually read - the vast majority of devices are capable of parsing some HTML. This gem lets you get the text/plain part for free.\n\nSee [this blog post](http://artsy.github.io/blog/2012/05/16/generating-automatic-plain-text-mime-parts-with-rails-actionmailer) for details.\n\n## Contributing\n\nSee [CONTRIBUTING](CONTRIBUTING.md).\n\n## Copyright and License\n\nCopyright (c) 2015, Daniel Doubrovkine, Artsy and [Contributors](CHANGELOG.md).\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Factionmailer-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdblock%2Factionmailer-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Factionmailer-text/lists"}