|
@@ -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,
|