diff --git a/backend/src/utils/mail.py b/backend/src/utils/mail.py index 5d03473..26d808c 100644 --- a/backend/src/utils/mail.py +++ b/backend/src/utils/mail.py @@ -25,18 +25,14 @@ class MailHandler: cls.__login_codes[mail] = secrets.token_hex(6) cls.__init() message = MIMEMultipart("alternative") - message["Subject"] = "multipart test" + message["Subject"] = "OTP for logging in" message["From"] = "ssth@sahyadri.edu.in" message["To"] = mail html = f"""
-Hi,
- How are you?
- Real Python
- has many great tutorials.
-
- {cls.__login_codes[mail]}
+ OTP:
+
Hi,
- How are you?
- Real Python
- has many great tutorials.
-
- You've joined!!!
-
Hi,
- How are you?
- Real Python
- has many great tutorials.
-
- You're joining...
+ Hello!!!
+