- This line was added.
- This line was removed.
- Formatting was changed.
This function lists a cPanel account’s email accounts.
To prevent falsified data or symlink exploitation, the function uses the specified cPanel account user, rather than
root user, to read data from the user’s home directory. The system compares the collected data from the user’s home directory to a server-wide domains list. The comparison of the data validates whether you can trust the data.
The cPanel account user for which to list all owned email accounts.
|A cPanel account username.|
|array||An array of email accounts that the cPanel user owns.||An array of email accounts.|
About WHM API 1
Find a function