fix smtp without password
This commit is contained in:
committed by
Oleksandr Turchyn
parent
dea80a82d8
commit
b4dba0d809
@@ -44,7 +44,7 @@ module ActionMailerConfigsInterceptor
|
||||
port: value['port'],
|
||||
domain: value['domain'],
|
||||
openssl_verify_mode: OpenSSL::SSL::VERIFY_NONE,
|
||||
authentication: value.fetch('authentication', 'plain'),
|
||||
authentication: value['password'].present? ? value.fetch('authentication', 'plain') : nil,
|
||||
enable_starttls_auto: true,
|
||||
open_timeout: OPEN_TIMEOUT,
|
||||
read_timeout: READ_TIMEOUT,
|
||||
|
||||
Reference in New Issue
Block a user