mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
add noverify smtp option
This commit is contained in:
1 parent
9aa0a8ecbf
commit
cf1b0a4c16
2 files changed
+3
-3
No files matched your search
@@ -43,9 +43,9 @@ module ActionMailerConfigsInterceptor
|
||||
address: value['host'],
|
||||
port: value['port'],
|
||||
domain: value['domain'],
|
||||
openssl_verify_mode: OpenSSL::SSL::VERIFY_NONE,
|
||||
openssl_verify_mode: value['security'] == 'noverify' ? OpenSSL::SSL::VERIFY_NONE : nil,
|
||||
authentication: value['password'].present? ? value.fetch('authentication', 'plain') : nil,
|
||||
enable_starttls_auto: true,
|
||||
enable_starttls_auto: value['security'] != 'tls',
|
||||
open_timeout: OPEN_TIMEOUT,
|
||||
read_timeout: READ_TIMEOUT,
|
||||
ssl: value['security'] == 'ssl',
|
||||
|
||||
Reference in new issue
Block a user