BoxTrapper
Spam Prevention (BoxTrapper)
Update account BoxTrapper ignorelist
This function sets the BoxTrapper ignorelist configuration rules. BoxTrapper will delete messages that match these rules without sending a notification to the sender.
Important:
When you disable the Receive Mail role, the system disables this function.
get/BoxTrapper/set_ignorelist
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.
rulesstring[] required
An array of ignorelist rules.
Note:
You can set multiple ignore rules, duplicate or increment the parameter name. For example, rules-1, rules-2, and rules-3.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "set_ignorelist",
"module": "BoxTrapper",
"result": {
"status": 1
}
}