diff options
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 3 |
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 + |