diff --git a/config/environments/production.rb b/config/environments/production.rb index eb971cc4..9b8fccef 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -68,6 +68,7 @@ Rails.application.configure do config.active_support.deprecation = :notify config.action_mailer.delivery_method = :sendmail + config.action_mailer.default_url_options = { host: APP_CONFIG['hostname'] } config.action_mailer.perform_deliveries = true # 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.