Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -264,7 +264,7 @@ def send_email_with_attachment(recipient_email, subject, body, attachment_path):
|
|
264 |
|
265 |
message = MessageSchema(
|
266 |
subject="Fastapi-Mail module",
|
267 |
-
recipients=recipient_email,
|
268 |
body=html,
|
269 |
subtype=MessageType.html)
|
270 |
|
|
|
264 |
|
265 |
message = MessageSchema(
|
266 |
subject="Fastapi-Mail module",
|
267 |
+
recipients=[recipient_email],
|
268 |
body=html,
|
269 |
subtype=MessageType.html)
|
270 |
|