Enable TLS in email delivery #291

Merged
bustikiller merged 1 commits from tls-email into main 2025-07-06 17:46:09 +00:00
Showing only changes of commit 1586f88986 - Show all commits

View File

@ -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
{} {}