Redmind commited on
Commit
0e03c37
·
verified ·
1 Parent(s): befc03d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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