This function lists domain-level forwarders.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ list_domain_forwarders
{- "apiversion": 3,
- "func": "list_domain_forwarders",
- "module": "Email",
- "result": {
- "data": [
- {
- "dest": "example.com",
- "forward": "forwardtome.com"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}