SmtpRelay: replace mail() stub with native socket SMTP client

This commit is contained in:
Pontoporeia
2026-04-22 10:53:27 +02:00
parent b448d0d40c
commit a3849a8e69
3 changed files with 163 additions and 29 deletions

View File

@@ -5,4 +5,5 @@
- [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)
- [x] Fix SmtpRelay::send() — replace broken mail() stub with native PHP socket SMTP client (STARTTLS/SSL, AUTH PLAIN/LOGIN)
- [x] Lock body scroll on all pages (admin + public); only `main` or inner element scrolls