Sending email with SSL/TLS does not work

Hello,

After several attempts, I couldn't configure the emails to receive them correctly with a common SMTP configuration with SSL on.

Steps to reproduce.

  1. pip install cookiecutter
  2. cookiecutter https://github.com/whythawk/full-stack-fastapi-postgresql
  3. Add a SMTP configuration (==> add SMTP_TLS=True in .env by default)
  4. docker-compose up
  5. Try to send a magic link or a reset password email.
    => Nothing happen.

After few research, I find out that the configuration inside backend (utilities) is not correct.
See python-emails documentation here: https://python-emails.readthedocs.io/en/latest/
Must replace tls by ssl inside the file.

Do you see a better idea?