mirror of
https://github.com/penpot/penpot.git
synced 2026-05-03 23:29:03 +00:00
🐛 Fix incorrect handling of SSL param on email sending subsystem
Fixes #3213
This commit is contained in:
parent
f166fe1926
commit
51d829a4b3
@ -305,7 +305,7 @@
|
||||
(fn [params]
|
||||
(when (contains? cf/flags :smtp)
|
||||
(let [session (create-smtp-session cfg)]
|
||||
(with-open [transport (.getTransport session (if (:ssl cfg) "smtps" "smtp"))]
|
||||
(with-open [transport (.getTransport session (if (::ssl cfg) "smtps" "smtp"))]
|
||||
(.connect ^Transport transport
|
||||
^String (::username cfg)
|
||||
^String (::password cfg))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user