forked from External/greenlight
Generalized logs and mailer (#312)
This commit is contained in:
@ -28,8 +28,8 @@ Rails.application.configure do
|
||||
config.cache_store = :null_store
|
||||
end
|
||||
|
||||
# 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