diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2012-10-18 19:31:06 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2012-10-18 19:31:06 +1100 |
commit | 9feef18646b7838dc7204c6976bd74444002f37a (patch) | |
tree | c5969f9844434ce7954a1599e9555f7817371c78 /config/environments/development.rb | |
parent | 1e4fd7f4a76ea33d270912bbb9a4bf76cbd9d2a9 (diff) |
By default in development send mails to mailcatcher
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r-- | config/environments/development.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index f21f27ab6..b0e39ab44 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -17,8 +17,11 @@ 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.perform_deliveries = false -config.action_mailer.delivery_method = :sendmail # so is queued, rather than giving immediate errors +config.action_mailer.perform_deliveries = true +# Use mailcatcher in development +config.action_mailer.delivery_method = :smtp # so is queued, rather than giving immediate errors +config.action_mailer.smtp_settings = { :address => "localhost", :port => 1025 } + # Writes useful log files to debug memory leaks, of the sort where have # unintentionally kept references to objects, especially strings. |