Put back mailcatcher config in development.rb
This commit is contained in:
parent
7bcf1c5aaa
commit
ceee8ed63b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue