Add production config and credentials
This commit is contained in:
@@ -59,6 +59,17 @@ Rails.application.configure do
|
||||
|
||||
config.action_mailer.perform_caching = false
|
||||
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
|
||||
config.action_mailer.smtp_settings = {
|
||||
address: "mail.gandi.net",
|
||||
port: "587",
|
||||
user_name: Rails.application.credentials.smtp[:username],
|
||||
password: Rails.application.credentials.smtp[:password]
|
||||
}
|
||||
|
||||
config.action_mailer.default_url_options = { host: "accounts.kosmos.org", protocol: "https" }
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user