|
|
@ -59,6 +59,17 @@ Rails.application.configure do |
|
|
|
config.action_mailer.perform_caching = false |
|
|
|
config.action_mailer.perform_caching = false |
|
|
|
|
|
|
|
|
|
|
|
config.action_mailer.default_url_options = { host: ENV['APP_HOST'], port: 3000 } |
|
|
|
config.action_mailer.default_url_options = { host: ENV['APP_HOST'], port: 3000 } |
|
|
|
|
|
|
|
config.action_mailer.delivery_method = :smtp |
|
|
|
|
|
|
|
config.action_mailer.smtp_settings = { |
|
|
|
|
|
|
|
address: "smtp.gmail.com", |
|
|
|
|
|
|
|
port: 465, |
|
|
|
|
|
|
|
domain: "gmail.com", |
|
|
|
|
|
|
|
user_name: ENV["CORE_EMAIL_USERNAME"], |
|
|
|
|
|
|
|
password: ENV["CORE_EMAIL_PASSWORD"], |
|
|
|
|
|
|
|
authentication: "plain", |
|
|
|
|
|
|
|
enable_starttls_auto: true, |
|
|
|
|
|
|
|
ssl: true, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Ignore bad email addresses and do not raise email delivery errors. |
|
|
|
# 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. |
|
|
|
# Set this to true and configure the email server for immediate delivery to raise delivery errors. |
|
|
|