This function returns a list of messages in the account's BoxTrapper queue.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ BoxTrapper \ list_queued_messages \ email='user@example.com'
{- "apiversion": 3,
- "func": "list_queued_messages",
- "module": "BoxTrapper",
- "result": {
- "data": [
- {
- "from": "user@example.com",
- "queuefile": "example.msg",
- "subject": "Email Message Subject",
- "time": 1556812881
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}