@@ -120,7 +120,10 @@ async def submit(request: Request):
}
print(result)
get_db().insert(result)
- mail_to_user(email)
+# mail_to_user(email)
+ x = threading.Thread(target=hhh_send_mail, args=(email,))
+ x.start()
+
return RedirectResponse(url="/a1/index_complete_msg.html", status_code=HTTP_302_FOUND)
# return result