Update CrisisCleanup mail settings, related to #150

This commit is contained in:
Disassembler 2017-11-29 09:34:24 +01:00
parent d2b102ebb2
commit f3286c9222
2 changed files with 2 additions and 8 deletions

View File

@ -16,13 +16,7 @@ Rails.application.configure do
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
ActionMailer::Base.smtp_settings = {
:address => 'smtp.sendgrid.net',
:port => '587',
:authentication => :plain,
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:domain => 'heroku.com',
:enable_starttls_auto => true
:address => '127.0.0.1'
}
config.action_mailer.default_url_options = {
:host => 'www.crisiscleanup.org',

View File

@ -10,7 +10,7 @@ Devise.setup do |config|
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class
# with default "from" parameter.
config.mailer_sender = 'no-reply@crisiscleanup.org'
config.mailer_sender = 'crisiscleanup@spotter.ngo'
# Configure the class responsible to send e-mails.
# config.mailer = 'Devise::Mailer'