Spaces:
Sleeping
Sleeping
Update email_utils.py
Browse files- email_utils.py +3 -8
email_utils.py
CHANGED
|
@@ -8,14 +8,9 @@ SENDER_PASSWORD = os.getenv("SENDER_PASSWORD")
|
|
| 8 |
def send_otp_email(receiver_email, otp):
|
| 9 |
subject = "Your FitPlan AI OTP Code"
|
| 10 |
body = f"""
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
This OTP is valid for 5 minutes.
|
| 16 |
-
|
| 17 |
-
Thank you.
|
| 18 |
-
"""
|
| 19 |
|
| 20 |
msg = MIMEText(body)
|
| 21 |
msg["Subject"] = subject
|
|
|
|
| 8 |
def send_otp_email(receiver_email, otp):
|
| 9 |
subject = "Your FitPlan AI OTP Code"
|
| 10 |
body = f"""
|
| 11 |
+
Your OTP is: {otp}
|
| 12 |
+
Valid for 5 minutes.
|
| 13 |
+
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
msg = MIMEText(body)
|
| 16 |
msg["Subject"] = subject
|