An Adapter for the Bamboo email app.
The package can be installed as:
- Add
bamboo_smtp
to your list of dependencies inmix.exs
:
def deps do
[{:bamboo_smtp, "~> 0.0.1"}]
end
- Add
bamboo
to your list of applications inmix.exs
:
def application do
[applications: [:bamboo]]
end
- Setup your SMTP configuration:
# In your config/config.exs file
config :my_app, MyApp.Mailer,
adapter: Bamboo.SMTPAdapter,
server: "smtp.domain",
port: 1025,
username: "[email protected]",
password: "pa55word",
tls: :if_available, # can be `:always` or `:never`
ssl: false, # can be `true`
retries: 1
- Follow Bamboo Getting Started Guide
Before opening a pull request, please open an issue first.
Once we've decided how to move forward with a pull request:
$ git clone https://github.com/fewlinesco/bamboo_smtp.git
$ cd bamboo_smtp
$ mix deps.get
$ mix test
Once you've made your additions and mix test passes, go ahead and open a PR!