This function retrieves a domain's default address.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ list_default_address \ user='user'
{- "apiversion": 3,
- "func": "list_default_address",
- "module": "Email",
- "result": {
- "data": [
- {
- "defaultaddress": "user",
- "domain": "example.com"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}