tomoya 1 kuukausi sitten
vanhempi
commit
a30380df0a
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      backend/app/app/api/api_v1/endpoints/text2zip.py

+ 0 - 1
backend/app/app/api/api_v1/endpoints/text2zip.py

@@ -324,7 +324,6 @@ def send_simple_email(email_to: str, video_path: str):
         message = emails.html(html=f"<p>Hi!<br>Here is Choozmo Video<br><a href='{video_path}'>Video</a></p>",
                             subject="Choozmo Video Service",
                             mail_from=('ChoozMo Video Service', 'verify@choozmo.com'))
-        message.attach(data=open(video_path, 'rb'), filename=video_path)
         r = message.send(to=email_to, mail_from='verify@choozmo.com', smtp={'host': 'smtp.gmail.com',
                                                                             'port': '587',
                                                                             'tls':True,