Knowledgebase
emscom > emscom Help Desk > Knowledgebase

Search help:


CPanel export list of mailboxes

Solution

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);
 
The table can be copy pasted out of the console

 

 
Was this article helpful? yes / no
Related articles Exchange - Shared Mailbox Access (not Mac mail)
Forget account with long user name
Teams - Sign in user list reset
DMARC cheat sheet
Webmail access
Article details
Article ID: 197
Category: Notes
Date added: 06-12-2022 11:14:56
Views: 242
Rating (Votes): Article not rated yet (0)

 
« Go back

 
Powered by Help Desk Software HESK, in partnership with SysAid Technologies