From c976ac174d15500c1ce03ba3b03510172960f625 Mon Sep 17 00:00:00 2001 From: Brian Kelly Date: Fri, 19 Jul 2024 11:40:39 -0500 Subject: [PATCH 1/2] Setting a default from address for emails --- config/environments/production.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 7f94281c..8f056cf6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -69,6 +69,7 @@ # config.action_mailer.raise_delivery_errors = false config.action_mailer.delivery_method = :sendmail + config.action_mailer.default_options = {from: 'no-reply@geo.nyu.edu'} # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation cannot be found). From 73ece1969e6d496377cea84c2f9029143c698504 Mon Sep 17 00:00:00 2001 From: Brian Kelly Date: Fri, 19 Jul 2024 14:19:04 -0500 Subject: [PATCH 2/2] Change the from address we're using --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 8f056cf6..186e2a07 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -69,7 +69,7 @@ # config.action_mailer.raise_delivery_errors = false config.action_mailer.delivery_method = :sendmail - config.action_mailer.default_options = {from: 'no-reply@geo.nyu.edu'} + config.action_mailer.default_options = {from: 'lib-no-reply@nyu.edu'} # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation cannot be found).