From ce1365e7062aeff1f29b94f72cfa5393b8b2c40a Mon Sep 17 00:00:00 2001 From: Admin MPCZ Date: Thu, 7 May 2026 21:53:34 +0200 Subject: [PATCH] feat(settings): card SMTP visible dans /settings (host/port/user/pass/from/tls + pct_recipient) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit La section SMTP etait declaree dans SECTIONS dict + SECTION_ACCESS mais le template settings.html n'iterait pas dynamiquement les sections — chaque section a sa card. Ajoute une card SMTP entre Teams et Splunk avec tous les champs + hint Office 365. --- app/templates/settings.html | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/app/templates/settings.html b/app/templates/settings.html index 97fc727..bd5a1bb 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -662,6 +662,57 @@ {% endif %} + + {% if visible.smtp %} +
+ {{ section_header("smtp", "SMTP — Envoi de mails (Office 365)", "Mail", "badge-blue") }} +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+ + +
+
+
+ + +
+

+ Configuration utilisée pour les mails de prévenance PCT (et signature future). + Pour O365 : smtp.office365.com port 587 + STARTTLS, + user = compte Entra avec SMTP submission activé, password = App Password ou Basic SMTP Auth (selon politique tenant). +

+ {% if editable.smtp %}{% endif %} +
+
+
+ {% endif %} + {% if visible.splunk %}