CPanel does not currently provide a simple method of exporting a list of mailboxes.
The following JS snippet scrapes mailbox names from the CPanel web page.
e-mail>List e-mail accounts.
Adjust the items per page (pagination) to ensure all accounts appear on the page
Open the browser web developer toolbox
Select the Console (js interpreter)
Past the following, accept any browser warning to allow pasting
let emails = []; document.querySelectorAll('.account-name').forEach(entry => emails.push(entry.innerHTML)); console.table(emails);
« Go back
Powered by Help Desk Software HESK, in partnership with SysAid Technologies