Unable to send an email via my SMTP server via SSL/TLS. But my local email client works well

Accorging to mix.lock:

:gen_smtp, "1.2.0"
:swoosh, "1.16.5"

In fact swoosh was at

:swoosh, "1.15.2"

when the problem started but upgrading deps was one of the first things I tried