Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -262,7 +262,7 @@ def send_email_with_attachment(recipient_email, subject, body, attachment_path):
|
|
| 262 |
|
| 263 |
# Open the file to be sent
|
| 264 |
attachment = open(attachment_path, "rb")
|
| 265 |
-
|
| 266 |
# Instance of MIMEBase and named as p
|
| 267 |
part = MIMEBase('application', 'octet-stream')
|
| 268 |
|
|
|
|
| 262 |
|
| 263 |
# Open the file to be sent
|
| 264 |
attachment = open(attachment_path, "rb")
|
| 265 |
+
print("Attached the image")
|
| 266 |
# Instance of MIMEBase and named as p
|
| 267 |
part = MIMEBase('application', 'octet-stream')
|
| 268 |
|