This function determines whether a cPanel user currently uses UTF-8 character-encoded mailbox names.
uapi --output=jsonpretty \ --user=username \ Mailboxes \ has_utf8_mailbox_names
{- "apiversion": 3,
- "func": "has_utf8_mailbox_names",
- "module": "Mailboxes",
- "result": {
- "data": {
- "enabled": 1
}, - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}