This function lists character encodings that the mail server supports.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ get_charsets
{- "apiversion": 3,
- "func": "get_charsets",
- "module": "Email",
- "result": {
- "data": [
- "utf-8"
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}