mirror of
https://github.com/penpot/penpot.git
synced 2025-06-30 11:36:59 +02:00
🐛 Fix incorrect handling of SSL param on email sending subsystem
Fixes #3213
This commit is contained in:
parent
f166fe1926
commit
51d829a4b3
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@
|
||||||
(fn [params]
|
(fn [params]
|
||||||
(when (contains? cf/flags :smtp)
|
(when (contains? cf/flags :smtp)
|
||||||
(let [session (create-smtp-session cfg)]
|
(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
|
(.connect ^Transport transport
|
||||||
^String (::username cfg)
|
^String (::username cfg)
|
||||||
^String (::password cfg))
|
^String (::password cfg))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue