Almet/docs/mail server configuration (#378)

* Replace the settings table with multiple sections.

It's easier to read, and easier to maintain. Fixes #251.

* Document external mail server configuration.

Fixes #278
This commit is contained in:
Alexis Metaireau 2018-09-03 20:55:10 +02:00 committed by GitHub
parent 07aabeb07f
commit 5fcf667914
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,6 +265,22 @@ if set to ``"somestring"``, it will be served from a "folder"
.. _the SQLAlchemy documentation: http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls
Configuring emails sending
--------------------------
By default, Ihatemoney sends emails using a local SMTP server, but it's
possible to configure it to act differently, thanks to the great
`Flask-Mail project <https://pythonhosted.org/flask-mail/#configuring-flask-mail>`_
* **MAIL_SERVER** : default **'localhost'**
* **MAIL_PORT** : default **25**
* **MAIL_USE_TLS** : default **False**
* **MAIL_USE_SSL** : default **False**
* **MAIL_DEBUG** : default **app.debug**
* **MAIL_USERNAME** : default **None**
* **MAIL_PASSWORD** : default **None**
* **DEFAULT_MAIL_SENDER** : default **None**
Using an alternate settings path
--------------------------------