Yash goyal commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -165,7 +165,7 @@ def send_email_async(app_context, report_data):
|
|
| 165 |
|
| 166 |
# 2. Create the email message
|
| 167 |
message = Mail(
|
| 168 |
-
from_email='
|
| 169 |
to_emails=report_data['email'],
|
| 170 |
subject='Your SnapSkin Diagnostic Report',
|
| 171 |
html_content=f"<strong>Dear {report_data['name']},</strong><p>Please find your diagnostic report from SnapSkin attached.</p>"
|
|
|
|
| 165 |
|
| 166 |
# 2. Create the email message
|
| 167 |
message = Mail(
|
| 168 |
+
from_email='snapskinofficial@gmail.com', # IMPORTANT: Use the email you verified on SendGrid
|
| 169 |
to_emails=report_data['email'],
|
| 170 |
subject='Your SnapSkin Diagnostic Report',
|
| 171 |
html_content=f"<strong>Dear {report_data['name']},</strong><p>Please find your diagnostic report from SnapSkin attached.</p>"
|