From c8ca6fd9bbf1e7d22acd82575f9d32083610a955 Mon Sep 17 00:00:00 2001 From: "F.N. Claessen" Date: Fri, 16 Dec 2022 15:40:42 +0100 Subject: [PATCH 1/3] Fix formatting Signed-off-by: F.N. Claessen --- documentation/configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/configuration.rst b/documentation/configuration.rst index 653df245f..4d63e4578 100644 --- a/documentation/configuration.rst +++ b/documentation/configuration.rst @@ -122,7 +122,7 @@ FLEXMEASURES_MENU_LOGO_PATH A URL path to identify an image being used as logo in the upper left corner (replacing some generic text made from platform name and the page title). The path can be a complete URL or a relative from the app root. -Default: "" +Default: ``""`` .. _extra-css-config: @@ -135,7 +135,7 @@ The path can be a complete URL or a relative from the app root. .. note:: You can also add extra styles for plugins with the usual Blueprint method. That is more elegant but only applies to the Blueprint's views. -Default: "" +Default: ``""`` FLEXMEASURES_ROOT_VIEW From 71f5d83456db4d3cd02671b15cd3b7ca166b449d Mon Sep 17 00:00:00 2001 From: "F.N. Claessen" Date: Fri, 16 Dec 2022 15:40:58 +0100 Subject: [PATCH 2/3] Add note explaining SMTPRecipientsRefused Signed-off-by: F.N. Claessen --- documentation/configuration.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/documentation/configuration.rst b/documentation/configuration.rst index 4d63e4578..2725ae511 100644 --- a/documentation/configuration.rst +++ b/documentation/configuration.rst @@ -440,6 +440,9 @@ MAIL_DEFAULT_SENDER (*) Tuple of shown name of sender and their email address. +.. note:: Some recipient mail servers will refuse emails for which the shown email address (set under ``MAIL_DEFAULT_SENDER``) differs from the sender's real email address (registered to ``MAIL_USERNAME``). + Match them to avoid ``SMTPRecipientsRefused`` errors. + Default: .. code-block:: python From fff9b7969e16fbe57769e2b4f6c85219d68c8abf Mon Sep 17 00:00:00 2001 From: "F.N. Claessen" Date: Mon, 19 Dec 2022 20:56:50 +0100 Subject: [PATCH 3/3] Changelog entry Signed-off-by: F.N. Claessen --- documentation/changelog.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/documentation/changelog.rst b/documentation/changelog.rst index 9a9b0a8b8..4c2dd085c 100644 --- a/documentation/changelog.rst +++ b/documentation/changelog.rst @@ -41,6 +41,7 @@ Infrastructure / Support * Revised strategy for removing unchanged beliefs when saving data: retain the oldest measurement (ex-post belief), too [see `PR #518 `_] * Scheduling test for maximizing self-consumption, and improved time series db queries for fixed tariffs (and other long-term constants) [see `PR #532 `_] * Clean up table formatting for ``flexmeasures show`` CLI commands [see `PR #540 `_] +* Explain how to avoid potential ``SMTPRecipientsRefused`` errors when using FlexMeasures in combination with a mail server [see `PR #558 `_] .. warning:: The CLI command ``flexmeasures monitor tasks`` has been renamed to ``flexmeasures monitor last-run``. The old name will stop working in version 0.13.