aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb2
-rw-r--r--config/environments/production.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 0589aa979..243eb489c 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -19,3 +19,5 @@ config.action_view.debug_rjs = true
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false
+config.action_mailer.delivery_method = :sendmail # so is queued, rather than giving immediate errors
+
diff --git a/config/environments/production.rb b/config/environments/production.rb
index cb295b83f..22cd429cf 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -16,3 +16,5 @@ config.action_controller.perform_caching = true
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
+config.action_mailer.delivery_method = :sendmail # so is queued, rather than giving immediate errors
+