Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -249,6 +249,10 @@ def document_data_tool(question):
|
|
| 249 |
|
| 250 |
def send_email_with_attachment(recipient_email, subject, body, image_data):
|
| 251 |
try:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252 |
sender_email = os.getenv("EMAIL_SENDER")
|
| 253 |
sender_password = os.getenv("EMAIL_PASSWORD")
|
| 254 |
|
|
|
|
| 249 |
|
| 250 |
def send_email_with_attachment(recipient_email, subject, body, image_data):
|
| 251 |
try:
|
| 252 |
+
print(recipient_email)
|
| 253 |
+
print(subject)
|
| 254 |
+
print(body)
|
| 255 |
+
print(image_data)
|
| 256 |
sender_email = os.getenv("EMAIL_SENDER")
|
| 257 |
sender_password = os.getenv("EMAIL_PASSWORD")
|
| 258 |
|