alvingiovanno

Member
Aug 1, 2012
7
0
1
Tangerang, Indonesia
cPanel Access Level
Root Administrator
Last edited:

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
Disillusioned in England
cPanel Access Level
Root Administrator
If you're wanting to retrieve the passwords for existing email accounts, then no, the passwords aren't stored in a format that is supposed to be easily reversible. I'm unsure if you'd be able to hook something with the api for when new email accounts are created, but even if you can dumping passwords into a text file (and really storing them at all) isn't a great idea
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Are you attempting to import multiple email accounts? If so, you can use a CSV file to import multiple email accounts at the same time. Instructions for this are available at:

Import Email Addresses

Thank you.
 

harmeet

Member
Apr 18, 2013
6
0
1
cPanel Access Level
Root Administrator
Hello,

If you want to create multiple email accounts you can make them by creating a custom script which will call addpop script of cpanel and will read email accounts from a file emails.txt:

-------------------------------------------------------------------
#!/bin/bash
password=Any-Secure-Password
"for i in `cat emails.txt`; do /scripts/addpop $i $password; done
-------------------------------------------------------------------

Please note that password for all the email accounts will be same.

I hope this helps !