tomoya 1 bulan lalu
induk
melakukan
a30380df0a
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  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,