Update app.py
Browse files
app.py
CHANGED
@@ -28,8 +28,8 @@ REPORTS_DIR = "reports"
|
|
28 |
os.makedirs(REPORTS_DIR, exist_ok=True)
|
29 |
|
30 |
# Email Configuration
|
31 |
-
SENDER_EMAIL = "
|
32 |
-
SENDER_PASSWORD = "
|
33 |
|
34 |
# Function to send email with PDF attachment
|
35 |
def send_email_with_attachment(to_email, file_path, patient_name):
|
|
|
28 |
os.makedirs(REPORTS_DIR, exist_ok=True)
|
29 |
|
30 |
# Email Configuration
|
31 |
+
SENDER_EMAIL = "qen3jv@gmail.com" # Change this
|
32 |
+
SENDER_PASSWORD = "1w3r5y7i9pW$" # Use an App Password if using Gmail
|
33 |
|
34 |
# Function to send email with PDF attachment
|
35 |
def send_email_with_attachment(to_email, file_path, patient_name):
|