Skip to content

Commit

Permalink
smtp configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Aug 11, 2023
1 parent 726e907 commit 208adc6
Show file tree
Hide file tree
Showing 2 changed files with 507 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,19 @@

# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false


config.action_mailer.asset_host = config.action_controller.asset_host
config.action_mailer.default_url_options = { :host => ENV["HOST"] }
config.action_mailer.delivery_method = :smtp

config.action_mailer.smtp_settings = {
:address => ENV["SMTP_DOMAIN"],
:port => 587,
:authentication => :plain,
:user_name => ENV["SMTP_USERNAME"],
:password => ENV['SMTP_PASSWORD'],
:domain => "rauversion.com",
:enable_starttls_auto => true
}
end
Loading

0 comments on commit 208adc6

Please sign in to comment.