From 1586f88986bd19f70431aa5d3a1f5d872125e054 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 6 Jul 2025 19:32:31 +0200 Subject: [PATCH] Enable TLS in email delivery --- config/environments/production.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index c94e5df..b026af1 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -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 {} -- 2.47.1