{"id":20407829,"url":"https://github.com/restorando/resque-smtp","last_synced_at":"2026-03-07T03:01:45.661Z","repository":{"id":9689944,"uuid":"11636953","full_name":"restorando/resque-smtp","owner":"restorando","description":"Resque plugin to send email asynchronously","archived":false,"fork":false,"pushed_at":"2014-01-17T17:33:25.000Z","size":204,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":32,"default_branch":"master","last_synced_at":"2026-03-03T06:37:15.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"ebemunk/phoenix","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/restorando.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-24T14:36:48.000Z","updated_at":"2020-10-21T20:24:32.000Z","dependencies_parsed_at":"2022-08-30T17:41:39.100Z","dependency_job_id":null,"html_url":"https://github.com/restorando/resque-smtp","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/restorando/resque-smtp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restorando%2Fresque-smtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restorando%2Fresque-smtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restorando%2Fresque-smtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restorando%2Fresque-smtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/restorando","download_url":"https://codeload.github.com/restorando/resque-smtp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/restorando%2Fresque-smtp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-15T05:26:26.722Z","updated_at":"2026-03-07T03:01:45.641Z","avatar_url":"https://github.com/restorando.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Resque::SMTP\n\nThis gem allows you to do the mail delivery inside a Resque job.\n\nWhat's the difference with other gems that send the email in Resque jobs?\n\nThe other gems aim to render and deliver the mail inside the job. Resque::SMTP only handles the deliver, this allows you to have workers that don't have all your dependencies (eg. Rails mailers), but can be retried if your mail provider fails.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'resque-smtp'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install resque-smtp\n\n## Usage\n\n### Rails users\n\n1. Configure wich mails you want to use resque-smtp.\n   This can be done to all your emails with in your `application.rb` (or in a per environment basis)\n\n   ```ruby\n   config.action_mailer.delivery_method = :resque_smtp\n   ```\n\n2. The default Resque queue name is: `mailing`, this can be changed with:\n\n   ```ruby\n   config.action_mailer.resque_smtp_settings = { queue: \"default\" }\n   ```\n\n3. Done!\n\nresque-smtp will use the `action_mailer.smtp_settings` to send the mails in the queue.\n\n### Mail gem users\n\n1. Configure your smtp settings in `Resque::SMTP.smtp_settings`\n   eg.\n\n    ```ruby\n    Resque::SMTP.smtp_settings = { :address              =\u003e \"smtp.me.com\",\n                                   :port                 =\u003e 587,\n                                   :domain               =\u003e 'your.host.name',\n                                   :user_name            =\u003e '\u003cusername\u003e',\n                                   :password             =\u003e '\u003cpassword\u003e',\n                                   :authentication       =\u003e 'plain',\n                                   :enable_starttls_auto =\u003e true  }\n    ```\n2. Configure Mail defaults to use Resque::SMTP (the queue parameter is optional, it defaults\n   to `\"mailing\"`)\n  eg.\n\n    ```ruby\n    Mail.defaults do\n      delivery_method Resque::SMTP::DeliveryMethod, queue: \"default\"\n    end\n    ```\n\n3. Done!\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frestorando%2Fresque-smtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frestorando%2Fresque-smtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frestorando%2Fresque-smtp/lists"}