mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-30 18:22:38 +02:00
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:
parent
07aabeb07f
commit
5fcf667914
1 changed files with 16 additions and 0 deletions
|
@ -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
|
.. _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
|
Using an alternate settings path
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue