This function blocks email from specific domains.
domain required | string The domain to block. Note:
domain=domain=example.com domain-1=example1.com domain-2=example2.com domain=domain=example.com domain=example1.com domain=example2.com domain=example.com |
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ block_incoming_email_from_domain \ domain='example.com'
{- "data": {
- "updated": 1
}, - "metadata": {
- "command": "block_incoming_email_from_domain",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}