diff --git a/config/environments/development.rb b/config/environments/development.rb index d5001a722b..cd91e41ab9 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -33,15 +33,7 @@ Discourse::Application.configure do config.handlebars.precompile = false # we recommend you use mailcatcher https://github.com/sj26/mailcatcher - config.action_mailer.delivery_method = :smtp - config.action_mailer.smtp_settings = { - :address => "smtp.mailgun.org", - :port => 587, - :domain => 'domain.com', - :user_name => 'postmaster@domain.com', - :password => 'secretpass', - :authentication => 'plain', - :enable_starttls_auto => true } + config.action_mailer.smtp_settings = { address: "localhost", port: 1025 } config.action_mailer.raise_delivery_errors = true