mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
smtp: add notify_email field; fix admin notification sent to no-reply sender
This commit is contained in:
11
TODO.md
11
TODO.md
@@ -63,6 +63,17 @@
|
||||
- [ ] Verify TCP reachability from XAMXAM VM to LDAP server (port 636)
|
||||
- [ ] See `docs/LDAP_AUTH_PLAN.md` for full phase-by-phase plan
|
||||
|
||||
## SMTP notify_email fix
|
||||
|
||||
- [x] Migration 006: add `notify_email` column to `smtp_settings`
|
||||
- [x] `SmtpRelay::getSettings()` — include `notify_email` in SELECT + defaults
|
||||
- [x] `SmtpRelay::updateSettings()` — persist `notify_email`
|
||||
- [x] `SmtpRelay::getNotifyEmail()` — returns `notify_email` ?? `from_email`
|
||||
- [x] `request-access.php` — use `getNotifyEmail()` instead of `from_email` for admin notifications
|
||||
- [x] `actions/settings.php` — wire `smtp_notify_email` POST field
|
||||
- [x] Template: add "Adresse de notification admin" field to SMTP form
|
||||
- [x] `schema.sql` — updated DDL
|
||||
|
||||
## SMTP credential validation
|
||||
|
||||
- [x] Add `SmtpProbeException` with `field` property for structured error classification
|
||||
|
||||
Reference in New Issue
Block a user