Use sendmail in production

This commit is contained in:
Georg Gadinger 2020-04-19 15:34:45 +02:00
parent 9c1dc491a4
commit 5eb61eb418

View file

@ -57,6 +57,9 @@ Rails.application.configure do
# config.active_job.queue_name_prefix = "justask_#{Rails.env}" # config.active_job.queue_name_prefix = "justask_#{Rails.env}"
config.action_mailer.perform_caching = false config.action_mailer.perform_caching = false
# Use sendmail
config.action_mailer.delivery_method = :sendmail
# Ignore bad email addresses and do not raise email delivery errors. # Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors. # Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false # config.action_mailer.raise_delivery_errors = false