This function returns the status of the eximstats SQLite Database.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ stats_db_status
{- "apiversion": 3,
- "func": "stats_db_status",
- "module": "Email",
- "result": {
- "data": "active",
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}