Use sendmail in production
This commit is contained in:
parent
9c1dc491a4
commit
5eb61eb418
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue