Enable TLS in email delivery #291

Merged
bustikiller merged 1 commits from tls-email into main 2025-07-06 17:46:09 +00:00

View File

@ -79,7 +79,8 @@ Rails.application.configure do
port: File.read("/run/secrets/smtp_port").strip.to_i,
user_name: File.read("/run/secrets/smtp_user_name").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
{}