Flask-Mail - Sending email asynchronously, based on Flask-Cookiecutter
问题 My flask project is based on Flask-Cookiecutter and I need to send emails asynchronously. Function for sending email was configured by Miguel’s Tutorial and sending synchronously works fine, but i don’t know, how I can modify it for sending asynchronously. My app.py def create_app(config_object=ProdConfig): app = Flask(__name__) app.config.from_object(config_object) register_extensions(app) register_blueprints(app) register_errorhandlers(app) return app def register_extensions(app): assets