Restore the files 2b23346 dropped, and answer an oversized send with 413

FixEmailService
Shipped
August 6, 2026 at 8:54 PM UTC
Author
Kamo
Commit
6a17805

2b23346 was committed through a private index that was never seeded from HEAD, so its tree held only the three files staged into it and the commit deleted the other 231. The working tree was never touched; this restores that tree and carries the same multipart fix. Also adds MultipartLimitAdvice. An oversized upload is refused in **************** before handler mapping, so the handler is null by then and EmailController's own @ExceptionHandler never sees it — only advice at this level does. It answers 413 with a MESSAGE_TOO_LARGE code and the limits read back off MultipartProperties, so the composer can say which piece is too big instead of "Failed to send email".

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing