Update CrisisCleanup mail settings, related to #150
This commit is contained in:
parent
d2b102ebb2
commit
f3286c9222
@ -16,13 +16,7 @@ Rails.application.configure do
|
|||||||
config.consider_all_requests_local = false
|
config.consider_all_requests_local = false
|
||||||
config.action_controller.perform_caching = true
|
config.action_controller.perform_caching = true
|
||||||
ActionMailer::Base.smtp_settings = {
|
ActionMailer::Base.smtp_settings = {
|
||||||
:address => 'smtp.sendgrid.net',
|
:address => '127.0.0.1'
|
||||||
:port => '587',
|
|
||||||
:authentication => :plain,
|
|
||||||
:user_name => ENV['SENDGRID_USERNAME'],
|
|
||||||
:password => ENV['SENDGRID_PASSWORD'],
|
|
||||||
:domain => 'heroku.com',
|
|
||||||
:enable_starttls_auto => true
|
|
||||||
}
|
}
|
||||||
config.action_mailer.default_url_options = {
|
config.action_mailer.default_url_options = {
|
||||||
:host => 'www.crisiscleanup.org',
|
:host => 'www.crisiscleanup.org',
|
||||||
|
@ -10,7 +10,7 @@ Devise.setup do |config|
|
|||||||
# Configure the e-mail address which will be shown in Devise::Mailer,
|
# 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
|
# note that it will be overwritten if you use your own mailer class
|
||||||
# with default "from" parameter.
|
# 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.
|
# Configure the class responsible to send e-mails.
|
||||||
# config.mailer = 'Devise::Mailer'
|
# config.mailer = 'Devise::Mailer'
|
||||||
|
Loading…
Reference in New Issue
Block a user