🐛 Fix custom smtp port with ssl enabled

This commit is contained in:
Alejandro Alonso 2024-08-05 12:45:05 +02:00
parent aa4368f97f
commit aa21430a5c
2 changed files with 3 additions and 0 deletions

View file

@ -306,6 +306,8 @@
(let [session (create-smtp-session cfg)]
(with-open [transport (.getTransport session (if (::ssl cfg) "smtps" "smtp"))]
(.connect ^Transport transport
^String (::host cfg)
^String (::port cfg)
^String (::username cfg)
^String (::password cfg))