forked from External/greenlight
Generalized logs and mailer (#312)
This commit is contained in:
@ -54,8 +54,8 @@ Rails.application.configure do
|
||||
# Use a different cache store in production.
|
||||
# config.cache_store = :mem_cache_store
|
||||
|
||||
# Tell Action Mailer to use smtp server
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
# Tell Action Mailer to use smtp server, if configured
|
||||
config.action_mailer.delivery_method = ENV['SMTP_SERVER'].present? ? :smtp : :sendmail
|
||||
|
||||
ActionMailer::Base.smtp_settings = {
|
||||
address: ENV['SMTP_SERVER'],
|
||||
|
Reference in New Issue
Block a user