This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fastapi import FastAPI, APIRouter, HTTPException, Depends, status, BackgroundTasks, File, Form, UploadFile | |
from fastapi.security import HTTPBearer, HTTPAuthorizationCredentials | |
from dotenv import load_dotenv | |
import smtplib | |
import ssl | |
from email.mime.text import MIMEText | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.base import MIMEBase | |
from email import encoders | |
import io |