{"id":16070466,"url":"https://github.com/gbh/bamboo_postageapp","last_synced_at":"2025-04-05T10:15:06.841Z","repository":{"id":57479264,"uuid":"90927116","full_name":"GBH/bamboo_postageapp","owner":"GBH","description":"A Bamboo adapter for PostageApp","archived":false,"fork":false,"pushed_at":"2017-05-11T02:42:53.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T05:46:58.634Z","etag":null,"topics":["bamboo","elixir"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/GBH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-11T02:13:19.000Z","updated_at":"2019-03-19T04:04:31.000Z","dependencies_parsed_at":"2022-09-17T04:41:45.938Z","dependency_job_id":null,"html_url":"https://github.com/GBH/bamboo_postageapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GBH%2Fbamboo_postageapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GBH%2Fbamboo_postageapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GBH%2Fbamboo_postageapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GBH%2Fbamboo_postageapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GBH","download_url":"https://codeload.github.com/GBH/bamboo_postageapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318746,"owners_count":20919483,"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":["bamboo","elixir"],"created_at":"2024-10-09T07:03:34.702Z","updated_at":"2025-04-05T10:15:06.817Z","avatar_url":"https://github.com/GBH.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bamboo.PostageAppAdapter [![Hex.pm](https://img.shields.io/hexpm/v/bamboo_postageapp.svg?style=flat)](https://hex.pm/packages/bamboo_postageapp) [![Build Status](https://travis-ci.org/GBH/bamboo_postageapp.svg?style=flat\u0026branch=master)](https://travis-ci.org/GBH/bamboo_postageapp)\n\nA [PostageApp](https://postageapp.com/) Adapter for the [Bamboo](https://github.com/thoughtbot/bamboo) email library.\n\n### [API Documentation](http://help.postageapp.com/kb/api/api-overview) \u0026bull; [Knowledge Base](http://help.postageapp.com/kb) \u0026bull; [Help Portal](http://help.postageapp.com/)\n\n## Installation\n\nAdd `bamboo_postageapp` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:bamboo_postageapp, \"~\u003e 0.0.1\"}]\nend\n```\n\nAdd PostageApp to your config:\n\n```elixir\n# In your configuration file:\n#  * General configuration: config/config.exs\n#  * Recommended production only: config/prod.exs\n#\n# `recipient_override` setting is useful for staging environment when you might\n# have real users and don't want to send emails to them.\n\nconfig :my_app, MyApp.Mailer,\n  adapter: Bamboo.PostageAppAdapter,\n  api_key: \"API_KEY\",\n  recipient_override: \"override@example.org\"\n```\n\n## PostageApp specific email helpers\n\nPostageApp allows you to use custom message templates and apply variables like so:\n\n```elixir\ndefmodule MyApp.Mail do\n  import Bamboo.PostageAppHelper\n\n  def some_email do\n    new_email()\n    |\u003e to(\"to@example.com\")\n    |\u003e postageapp_template(\"template-name\")\n    |\u003e postageapp_variables(%{foo: \"123\", bar: \"abc\"})\n  end\nend\n```\n\n### Copyright\n\n(C) 2017 Oleg Khabarov\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbh%2Fbamboo_postageapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbh%2Fbamboo_postageapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbh%2Fbamboo_postageapp/lists"}