From 5fcf667914e8cb19a883317c346165610c5d1754 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Mon, 3 Sep 2018 20:55:10 +0200 Subject: [PATCH] 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 --- docs/installation.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/installation.rst b/docs/installation.rst index 2da0d945..f4744ae7 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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 `_ + +* **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 --------------------------------