smtp: probe credentials on save (connect+auth+quit, no message sent)

This commit is contained in:
Pontoporeia
2026-04-30 12:10:41 +02:00
parent 56c8d54435
commit b750aca2f5
4 changed files with 144 additions and 1 deletions

View File

@@ -63,6 +63,12 @@
- [ ] Verify TCP reachability from XAMXAM VM to LDAP server (port 636)
- [ ] See `docs/LDAP_AUTH_PLAN.md` for full phase-by-phase plan
## SMTP credential validation
- [x] Add `SmtpRelay::test()` — connect + EHLO + STARTTLS + AUTH + QUIT, no message sent
- [x] Add `SmtpRelay::smtpProbe()` — private low-level probe (mirrors smtpSend without envelope/data)
- [x] Wire into `actions/settings.php` SMTP branch: probe immediately after save, flash success or error with detail
## Répertoire layout
- [x] Make column headings sticky/non-scrollable; only `ul` scrolls per column