aml_utils.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:as_mais_lidas 作者: nandopedrosa 项目源码 文件源码
def __send_email_async(app, msg):
    """
    Helper function to make send emails asynchronously (there' no point making the user wait for the email to be sent)
    :param app: the flask app
    :param msg: the msg object from Flask Mail
    :return: None
    """
    with app.app_context():
        mail.send(msg)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号