1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Mail settings for localhost

This commit is contained in:
2016-01-18 20:08:18 +00:00
parent 3b72ea83cf
commit 3db0125a0d

View File

@@ -29,10 +29,14 @@ module Wrestling
config.active_job.queue_adapter = :delayed_job
config.action_mailer.delivery_method = :postmark
config.action_mailer.postmark_settings = { :api_token => ENV['POSTMARK_API_TOKEN'] }
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "localhost",
:port => 25,
:domain => "wrestlingdev.com",
}
#Devise needs origin of email
config.action_mailer.default_url_options = { :host => 'wrestlingapp.herokuapp.com' }
config.action_mailer.default_url_options = { :host => 'wrestlingdev.com' }
end