Enable TLS in email delivery #291
@ -79,7 +79,8 @@ Rails.application.configure do
|
|||||||
port: File.read("/run/secrets/smtp_port").strip.to_i,
|
port: File.read("/run/secrets/smtp_port").strip.to_i,
|
||||||
user_name: File.read("/run/secrets/smtp_user_name").strip,
|
user_name: File.read("/run/secrets/smtp_user_name").strip,
|
||||||
password: File.read("/run/secrets/smtp_password").strip,
|
password: File.read("/run/secrets/smtp_password").strip,
|
||||||
authentication: File.read("/run/secrets/smtp_authentication").strip.to_sym
|
authentication: File.read("/run/secrets/smtp_authentication").strip.to_sym,
|
||||||
|
tls: true
|
||||||
}
|
}
|
||||||
rescue Errno::ENOENT
|
rescue Errno::ENOENT
|
||||||
{}
|
{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user