|
|
@ -99,6 +99,7 @@ Rails.application.configure do |
|
|
|
:password => ENV['SMTP_PASSWORD'].presence, |
|
|
|
:password => ENV['SMTP_PASSWORD'].presence, |
|
|
|
:domain => ENV['SMTP_DOMAIN'] || ENV['LOCAL_DOMAIN'], |
|
|
|
:domain => ENV['SMTP_DOMAIN'] || ENV['LOCAL_DOMAIN'], |
|
|
|
:authentication => ENV['SMTP_AUTH_METHOD'] == 'none' ? nil : ENV['SMTP_AUTH_METHOD'] || :plain, |
|
|
|
:authentication => ENV['SMTP_AUTH_METHOD'] == 'none' ? nil : ENV['SMTP_AUTH_METHOD'] || :plain, |
|
|
|
|
|
|
|
:ca_file => ENV['SMTP_CA_FILE'].presence, |
|
|
|
:openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'], |
|
|
|
:openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'], |
|
|
|
:enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true, |
|
|
|
:enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true, |
|
|
|
} |
|
|
|
} |
|
|
|