Source code for

# -*- coding: utf-8 -*-
# Flask-Diamond (c) Ian Dennis Miller

from flask_mail import Mail

mail = Mail()

[docs]def init_email(self): """ Initialize email facilities. :returns: None `Flask-Mail <>`_ is a useful tool for creating and sending emails from within a Flask application. There are a number of configuration settings beginning with ``MAIL_`` that permit control over the SMTP credentials used to send email. """ mail.init_app(

Topic Navigation