1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-25 08:09:38 +02:00

Initial email settings (#286)

* Initial email settings

* Fixed linter errors

* Added email instructions
This commit is contained in:
Josh Pigford 2024-02-03 17:28:38 -06:00 committed by GitHub
parent dc8751e985
commit add4002550
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 31 additions and 1 deletions

View file

@ -67,6 +67,17 @@ Rails.application.configure do
config.action_mailer.perform_caching = false
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: ENV["SMTP_ADDRESS"],
port: ENV["SMTP_PORT"],
domain: ENV["SMTP_DOMAIN"],
user_name: ENV["SMTP_USERNAME"],
password: ENV["SMTP_PASSWORD"],
authentication: ENV["SMTP_AUTHENTICATION"],
enable_starttls_auto: ENV["SMTP_ENABLE_STARTTLS_AUTO"]
}
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false