/api/qmail/db/tells/clear-sent
GET POSTGarbage-collect successful pending tells. Deletes every row whose status is sent.
GET http://localhost:8081/api/qmail/db/tells/clear-sent
Description
The pending-tells table grows over time as messages are delivered. This call removes the sent rows so the queue stays compact. Failed and pending rows are untouched.
Parameters
None.
Response
{
"success": true,
"message": "Sent tells cleared",
"deleted_count": 17
}Errors
| HTTP | Message |
|---|---|
| 500 | Failed to clear sent tells |
Example
# GET — easy browser/devtool testing
curl "http://localhost:8081/api/qmail/db/tells/clear-sent"
# Canonical POST
curl -X POST "http://localhost:8081/api/qmail/db/tells/clear-sent"Related
- /api/qmail/db/tells/list-pending — Inspect the queue first.