📜  无法导入烧瓶邮件 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:37.832000             🧑  作者: Mango

代码示例1
from flaskext.mail import Mail, Message
# create our little application :)
app = Flask(__name__)
app.config.from_object(__name__)
app.config.from_envvar('MINITWIT_SETTINGS', silent=True)

# setup Mail
mail = Mail(app)