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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user