This function retrieves a list of BoxTrapper allowlist configuration rules. BoxTrapper will deliver emails that match these rules.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ BoxTrapper \ get_allowlist \ email='user@example.com'
{- "apiversion": 3,
- "func": "get_allowlist",
- "module": "BoxTrapper",
- "result": {
- "data": [
- "from allowlisted-email\\@domain\\.com"
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}