增加邮箱功能

This commit is contained in:
mkg
2021-06-16 15:34:39 +08:00
parent a675d78b82
commit e3d3424ee1
4 changed files with 32 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
from flask import Flask
from flask_mail import Mail
mail = Mail()
def init_mail(app: Flask):
mail.init_app(app)