This function lists the cPanel account's email accounts.
Important:
When you disable the Receive Mail role, the system disables this function.
no | integer Default: Whether to skip the email database's validation check.
Example: |
regex | |
skip | integer Default: Whether to exclude the cPanel account's main account from the results.
Example: |
HTTP Request was successful.
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --output=jsonpretty \ --user=username \ Email \ list_pops
{- "apiversion": 3,
- "func": "list_pops",
- "module": "Email",
- "result": {
- "data": [
- {
- "email": "user@example.com",
- "login": "user@example.com",
- "suspended_incoming": 0,
- "suspended_login": 0
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}