aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2007-12-13 11:10:17 +0000
committerfrancis <francis>2007-12-13 11:10:17 +0000
commitb6eae8a022a62735d81dae109383b3d04386a11c (patch)
treecb59f088fdcb0c358414a8f12cb57fc99bc0c486
parent57105286627b833c317bc22f2c61823c8aaf956c (diff)
Use sendmail not SMTP
-rw-r--r--config/environment.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb
index ccf4c9ed6..6382eeb7a 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -87,4 +87,7 @@ end
# Domain for URLs (so can work for scripts, not just web pages)
ActionController::UrlWriter.default_url_options[:host] = MySociety::Config.get("DOMAIN", 'localhost:3000')
+# So that it queues the message if there is a temporary error
+ActionMailer::Base.delivery_method = :sendmail
+