mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Updated smtp env variables
This commit is contained in:
parent
6476c7c805
commit
ec70d1ab21
3 changed files with 18 additions and 11 deletions
|
@ -59,13 +59,14 @@ module Registry
|
|||
config.action_mailer.raise_delivery_errors = true
|
||||
|
||||
config.action_mailer.smtp_settings = {
|
||||
address: ENV['address'],
|
||||
port: ENV['port'],
|
||||
address: ENV['smtp_address'],
|
||||
port: ENV['smtp_port'],
|
||||
enable_starttls_auto: true,
|
||||
user_name: ENV['user_name'],
|
||||
password: ENV['password'],
|
||||
authentication: 'login',
|
||||
domain: ENV['domain']
|
||||
user_name: ENV['smtp_user_name'],
|
||||
password: ENV['smtp_password'],
|
||||
authentication: 'smtp_login',
|
||||
domain: ENV['smtp_domain']
|
||||
openssl_verify_mode: ENV['smtp_openssl_verify_mode']
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue