Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions BrainPortal/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@
# config.active_job.queue_name_prefix = "BrainPortal5_#{Rails.env}"
config.action_mailer.perform_caching = false

# Use array option for sendmail
# https://github.com/mikel/mail/issues/1652
sendmail_path = `which sendmail`.strip
if sendmail_path.present?
config.action_mailer.sendmail_settings = {
location: sendmail_path,
arguments: ["-i"]
}
end

# 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
Expand Down