adjust smtp configs

This commit is contained in:
Pete Matsyburka committed 2026-01-27 10:57:04 +02:00
1 parent 4adaa531b7
commit cf31e12348
2 files changed
+7 -4

No files matched your search

+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