{"id":21898825,"url":"https://github.com/queueclassic/qc-mailer","last_synced_at":"2025-04-15T18:51:00.570Z","repository":{"id":4285649,"uuid":"5415293","full_name":"QueueClassic/qc-mailer","owner":"QueueClassic","description":"Send email in the background using QueueClassic","archived":false,"fork":false,"pushed_at":"2014-03-20T20:35:32.000Z","size":192,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-28T23:51:14.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QueueClassic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-14T16:13:10.000Z","updated_at":"2019-08-13T15:07:41.000Z","dependencies_parsed_at":"2022-08-29T14:42:33.825Z","dependency_job_id":null,"html_url":"https://github.com/QueueClassic/qc-mailer","commit_stats":null,"previous_names":["zerobearing2/qc-mailer"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueueClassic%2Fqc-mailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueueClassic%2Fqc-mailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueueClassic%2Fqc-mailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueueClassic%2Fqc-mailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QueueClassic","download_url":"https://codeload.github.com/QueueClassic/qc-mailer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249134998,"owners_count":21218357,"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-11-28T14:34:33.348Z","updated_at":"2025-04-15T18:51:00.548Z","avatar_url":"https://github.com/QueueClassic.png","language":"Ruby","readme":"QueueClassic Mailer\n===================\n\nAdd to a Rails 3.x project to send email in the background using QueueClassic.\n\nThis gem was inspired by ResqueMailer, https://github.com/zapnap/resque_mailer\n\n**WARNING: USE AT OWN RISK! THIS GEM IS CONSIDERED EXTREME ALPHA!**\n\n[![Build Status](https://secure.travis-ci.org/zerobearing2/qc-mailer.png)](http://travis-ci.org/zerobearing2/qc-mailer)\n[![Code Climate](https://codeclimate.com/github/zerobearing2/qc-mailer.png)](https://codeclimate.com/github/zerobearing2/qc-mailer)\n\nUsage\n-----\n\nInstall as gem\n\n    gem install qc-mailer\n\nAdd to Gemfile\n\n    gem \"qc-mailer\"\n\nInclude QC::Mailer in your ActionMailer subclass(es) like this:\n\n```ruby\nclass MyMailer \u003c ActionMailer::Base\n  include QC::Mailer\nend\n```\n\nNow, when ```MyMailer.subject_email(params).deliver``` is called, an entry will be created in the job queue.\n\nNote that you can still have mail delivered synchronously by using the bang method variant:\n```ruby\nMyMailer.subject_email(params).deliver!\n```\n\nIf you want to set a different default queue name for your mailer, you can change the default_queue property like so:\n```ruby\n# config/initializers/qc_mailer.rb\nQC::Mailer.default_queue = 'application_specific_mailer'\n```\n\nDevelopment\n-----------\n\nTo get a working development environment, do the following;\n\n```bash\ngit clone https://github.com/rainforestapp/qc-mailer.git\ncd qc-mailer\nbundle\ncreatedb queue_classic_test\nrake\n```\n\nTODO\n----\n\n - TBD\n\n\nMeta\n----\n\nReleased under the [MIT license](http://www.opensource.org/licenses/mit-license.php).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueueclassic%2Fqc-mailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueueclassic%2Fqc-mailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueueclassic%2Fqc-mailer/lists"}