mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
fix(smtp-test): catch SmtpSendException to surface delivery errors as flash messages
This commit is contained in:
3
TODO.md
3
TODO.md
@@ -17,6 +17,9 @@
|
||||
- [x] **add.php / edit.php / partage/index.php** — use `sortable.min.js` + `file-upload-queue.js` instead of `file-preview.js`
|
||||
- [x] **docs/file-uploads.md** — reference document covering accepted types, size limits, storage layout, ordering, labels, security, and source file index
|
||||
|
||||
## Bug fixes
|
||||
- [x] **smtp-test.php** — wrap `SmtpRelay::send()` in `try/catch SmtpSendException` so SMTP delivery failures (e.g. 550 recipient rejected) surface as a proper flash error instead of an uncaught exception/silent crash
|
||||
|
||||
## Previously completed
|
||||
- [x] Multi-file upload for thesis files (basic)
|
||||
- [x] File access restriction system (email approval workflow)
|
||||
|
||||
Reference in New Issue
Block a user