Raise the body limit of the raw sends to fit an SMTP-sized message #88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "raw-body-limit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The raw-send paths (
/api/v2/messages/raw,/kantoor/v1/messages/raw) carry a message as base64 in JSON and were capped by Plug at 8,000,000 bytes, about 6 MB of message. They now take a body that fits a message of the SMTP maximum (25 MiB); every other JSON path keeps the 8 MB cap. The decoded message is checked against the message limit (message_too_large, 422), and/kantoor/...bodies are no longer read by the browser parser before the key check.🤖 Generated with Claude Code