send mail wip
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from fastapi_mail import ConnectionConfig
|
||||
from pathlib import Path
|
||||
import os
|
||||
|
||||
conf = ConnectionConfig(
|
||||
@@ -9,5 +10,5 @@ conf = ConnectionConfig(
|
||||
MAIL_SERVER = "your mail server",
|
||||
MAIL_STARTTLS = True,
|
||||
MAIL_SSL_TLS = False,
|
||||
TEMPLATE_FOLDER = Path(__file__).parent / 'templates',
|
||||
TEMPLATE_FOLDER = Path(__file__).parents[1] / 'templates',
|
||||
)
|
||||
|
Reference in New Issue
Block a user