This function sets the 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 set_allowlist email='user@example.com' rules-1='allowlisted-email\@domain\.com' rules-2='from allowlisted-email2\@domain\.com' rules-3='to domain2\.com'
{- "apiversion": 3,
- "func": "set_allowlist",
- "module": "BoxTrapper",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}