From c228657d889d29ca2212a7af04c89e41a9e9720f Mon Sep 17 00:00:00 2001 From: jcwimer Date: Mon, 4 Jan 2016 16:57:05 +0000 Subject: [PATCH] Setting up postmark --- config/environments/production.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 5e5bb74..30f7ebc 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -76,6 +76,10 @@ Wrestling::Application.configure do #Devise needs origin of email config.action_mailer.default_url_options = { :host => 'wrestlingapp.heroku.com' } + + #Postmark + config.action_mailer.delivery_method = :postmark + config.action_mailer.postmark_settings = { :api_key => ENV["POSTMARK_API_TOKEN"] } # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation can not be found).