mirror of
https://github.com/penpot/penpot.git
synced 2026-09-11 14:39:35 +00:00
Merge pull request #4960 from penpot/superalex-fix-custom-smtp-port-with-ssl-enabled
🐛 Fix custom smtp port with ssl enabled
This commit is contained in:
commit
82ad240053
@ -5,6 +5,7 @@
|
|||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
- User switch language to "zh_hant" will get 400 [Github #4884](https://github.com/penpot/penpot/issues/4884)
|
- User switch language to "zh_hant" will get 400 [Github #4884](https://github.com/penpot/penpot/issues/4884)
|
||||||
|
- Smtp config ignoring port if ssl is set [Github #4872](https://github.com/penpot/penpot/issues/4872)
|
||||||
|
|
||||||
## 2.1.1
|
## 2.1.1
|
||||||
|
|
||||||
|
|||||||
@ -306,6 +306,8 @@
|
|||||||
(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 (::host cfg)
|
||||||
|
^String (::port cfg)
|
||||||
^String (::username cfg)
|
^String (::username cfg)
|
||||||
^String (::password cfg))
|
^String (::password cfg))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user