@@ -7,7 +7,7 @@ There are some complete (but simple) examples available in the *examples* direct
7
7
.. note ::
8
8
The below quickstarts are just that - they don't enable most of the features (such as registration, reset, etc.).
9
9
They basically create a single user, and you can login as that user... that's it.
10
- As you add more features, additional packages (e.g. Flask-Mailman , Flask-Babel, qrcode) might be required
10
+ As you add more features, additional packages (e.g. Flask-Mail , Flask-Babel, qrcode) might be required
11
11
and will need to be added to your requirements.txt (or equivalent) file.
12
12
Flask-Security does some configuration validation and will output error messages to the console
13
13
for some missing packages.
@@ -561,15 +561,15 @@ Mail Configuration
561
561
562
562
Flask-Security integrates with an outgoing mail service via the ``mail_util_cls `` which
563
563
is part of initial configuration. The default class :class: `flask_security.MailUtil ` utilizes the
564
- `Flask-Mailman <https://pypi.org/project/flask-mailman / >`_ package. Be sure to add flask_mailman to
565
- your requirements.txt. The older and no longer maintained package `Flask-Mail <https://pypi.org/project/Flask-Mail / >`_
566
- is also (still) supported.
564
+ `Flask-Mail <https://pypi.org/project/flask-mail / >`_ package. Be sure to add flask_mail to
565
+ your requirements.txt. The Django inspired package `Flask-Mailman <https://pypi.org/project/Flask-Mailman / >`_
566
+ is also supported.
567
567
568
568
The following code illustrates a basic setup, which could be added to
569
569
the basic application code in the previous section::
570
570
571
571
# At top of file
572
- from flask_mailman import Mail
572
+ from flask_mail import Mail
573
573
574
574
# After 'Create app'
575
575
app.config['MAIL_SERVER'] = 'smtp.example.com'
@@ -579,9 +579,9 @@ the basic application code in the previous section::
579
579
app.config['MAIL_PASSWORD'] = 'password'
580
580
mail = Mail(app)
581
581
582
- To learn more about the various Flask-Mailman settings to configure it to
582
+ To learn more about the various Flask-Mail settings to configure it to
583
583
work with your particular email server configuration, please see the
584
- `Flask-Mailman documentation <https://waynerv.github .io/flask-mailman / >`_.
584
+ `Flask-Mail documentation <https://flask-mail.readthedocs .io/en/latest / >`_.
585
585
586
586
.. _proxy-configuration :
587
587
0 commit comments