Created
February 15, 2016 15:38
-
-
Save vitalis/65ddc279a14049b4577b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ApprimeReactor.Mailer do | |
import ApprimeReactor.Router.Helpers | |
@config domain: Application.get_env(:apprime_reactor, :mailgun_domain), | |
key: Application.get_env(:apprime_reactor, :mailgun_key), | |
mode: Mix.env | |
use Mailgun.Client, @config | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config :apprime_reactor, | |
mailgun_domain: System.get_env("MAILGUN_DOMAIN"), | |
mailgun_key: System.get_env("MAILGUN_API_KEY") |
Author
vitalis
commented
Feb 15, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment