adjust smtp configs

This commit is contained in:
Pete Matsyburka
2026-01-27 10:57:04 +02:00
parent 4adaa531b7
commit cf31e12348
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ Rails.application.configure do
user_name: ENV.fetch('SMTP_USERNAME', nil),
password: ENV.fetch('SMTP_PASSWORD', nil),
authentication: ENV.fetch('SMTP_PASSWORD', nil).present? ? ENV.fetch('SMTP_AUTHENTICATION', 'plain') : nil,
enable_starttls_auto: ENV['SMTP_ENABLE_STARTTLS_AUTO'] != 'false'
enable_starttls: ENV['SMTP_ENABLE_STARTTLS'] != 'false'
}.compact
end