jweiss
01-23-2008, 11:01 PM
I've got a client who regularly requests that I email him a file listing all the email addresses on his account. Is there a way to export a list (csv,xml, anything) of all the POP3 accounts and forwarding accounts?
If it can't be done within whm or cPanel, can it be done in php by chance?
-jeremy
cPanelDavidG
01-24-2008, 11:35 AM
I've got a client who regularly requests that I email him a file listing all the email addresses on his account. Is there a way to export a list (csv,xml, anything) of all the POP3 accounts and forwarding accounts?
If it can't be done within whm or cPanel, can it be done in php by chance?
-jeremy
There is an API2 function Email::listpopswithdisk which you can find documentation for at:
http://www.cpanel.net/plugins/api2/Cpanel%3A%3AEmail%3A%3Alistpopswithdisk.pod.html
You can call API2 from the XML-API as well, you can find documentation for that at:
http://www.cpanel.net/plugins/devel
SSHocker
01-24-2008, 11:59 AM
http ://servername.yourserverdomain.com:2082/frontend/x/mail/pops.html
File >> Print