From 1d74cc60a1132e560c9ac0eb882960741cec205c Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 19 Aug 2013 11:33:38 +1000 Subject: [PATCH] don't try sending emails out in profile mode --- config/environments/profile.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/profile.rb b/config/environments/profile.rb index b250224c8..d2aa9c330 100644 --- a/config/environments/profile.rb +++ b/config/environments/profile.rb @@ -27,8 +27,8 @@ Discourse::Application.configure do # the I18n.default_locale when a translation can not be found) config.i18n.fallbacks = true - config.action_mailer.delivery_method = :sendmail - config.action_mailer.sendmail_settings = {arguments: '-i'} + # we recommend you use mailcatcher https://github.com/sj26/mailcatcher + config.action_mailer.smtp_settings = { address: "localhost", port: 1025 } # Send deprecation notices to registered listeners config.active_support.deprecation = :notify