users #3

Merged
v4l3n71n merged 17 commits from users into master 2023-10-17 12:05:43 +00:00
Showing only changes of commit cb47e5b4eb - Show all commits

13
app/dependencies/mail.py Normal file
View File

@ -0,0 +1,13 @@
from fastapi_mail import ConnectionConfig
import os
conf = ConnectionConfig(
MAIL_USERNAME = "YourUsername",
MAIL_PASSWORD = "strong_password",
MAIL_FROM = "your@email.com",
MAIL_PORT = 587,
MAIL_SERVER = "your mail server",
MAIL_STARTTLS = True,
MAIL_SSL_TLS = False,
TEMPLATE_FOLDER = Path(__file__).parent / 'templates',
)