A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/whythawk/full-stack-fastapi-postgresql/issues/8 below:

Sending email with SSL/TLS does not work · Issue #8 · whythawk/full-stack-fastapi-postgresql · GitHub

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?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4