pablo-co / bamboo_postmark

A Bamboo adapter for Postmark
MIT License
39 stars 29 forks source link

Support reading api key from an env var #25

Closed junjizhi closed 5 years ago

junjizhi commented 5 years ago

Support the config like:

config :my_app, MyApp.Mailer,
      adapter: Bamboo.PostmarkAdapter,
      api_key: {:system, "API_KEY"}

This is allowed in Sendgrid adapter.

pablo-co commented 5 years ago

Thank you for the contribution! I will be adding the corresponding tests to the PR. Will create a new release during the weekend!

pablo-co commented 5 years ago

Closed by #26