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:
parent
dc8751e985
commit
add4002550
3 changed files with 31 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue