diff --git a/config/environments/production.rb b/config/environments/production.rb index 059310b..9872c15 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -60,3 +60,12 @@ AdoptAThing::Application.configure do # Send deprecation notices to registered listeners config.active_support.deprecation = :notify end + +ActionMailer::Base.smtp_settings = { + :address => "smtp.sendgrid.net", + :port => "25", + :authentication => :plain, + :user_name => ENV['SENDGRID_USERNAME'], + :password => ENV['SENDGRID_PASSWORD'], + :domain => ENV['SENDGRID_DOMAIN'] +}