diff --git a/TODO.md b/TODO.md index 0600160..6edb4d7 100644 --- a/TODO.md +++ b/TODO.md @@ -4,3 +4,4 @@ - [x] Make `.repertoire-col` columns scrollable instead of `.search-main` - [x] Replace JS toast system with pure HTMX toast fragment (top-right, CSS-only auto-fade) - [x] Separate admin views from controllers: move all HTML to `templates/admin/*.php`, fragments to `templates/admin/partials/` +- [x] Add SMTP test email button in parametres.php (action + CSS) diff --git a/app/public/admin/actions/smtp-test.php b/app/public/admin/actions/smtp-test.php new file mode 100644 index 0000000..9b7eb5c --- /dev/null +++ b/app/public/admin/actions/smtp-test.php @@ -0,0 +1,64 @@ + +
+Ceci est un e-mail de test envoyé depuis l'interface d'administration de Post-ERG.
+Si vous recevez ce message, la configuration du relay SMTP est correcte.
+
+ Envoyé le : $sentDate
+ Destinataire : $toSafe
+