This function performs a specified action on messages in the BoxTrapper queue.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ BoxTrapper \ process_messages \ queuefile='example.msg' \ action='blacklist'
{- "apiversion": 3,
- "module": "BoxTrapper",
- "result": {
- "data": [
- {
- "email": null,
- "failed": 1,
- "matches": [
- "example"
], - "reason": "(XID 2ymu8k) The system failed to locate the requested message: example.msg"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": [
- "One or more of the operations failed."
]
}
}