BoxTrapper
Spam Prevention (BoxTrapper)
Return account BoxTrapper allowlist rules
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.
get/BoxTrapper/get_allowlist
Query parameters
emailstring email required
Example:user@example.com
A valid email address on the cPanel account.
Warning:
If you call this function in Webmail, the system overrides this parameter. This parameter defaults to the current email address.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_allowlist",
"module": "BoxTrapper",
"result": {
"data": [
"from allowlisted-email\\@domain\\.com"
],
"status": 1
}
}