Use sendmail in production

This commit is contained in:
Georg Gadinger 2020-04-19 15:34:45 +02:00
parent 9c1dc491a4
commit 5eb61eb418
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ Rails.application.configure do
# config.active_job.queue_name_prefix = "justask_#{Rails.env}"
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.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false