This article documents the usage of the Cpanel::Email::listmaildomains function in relation to the cPanel interface. This tag can be used inside cPanel pages.
Cpanel::Email::listmaildomains
This function outputs a list of all domains associated with a cPanel account.
<?cp Email::listmaildomains( %, domain) skipmain=1 ?>
This example will output all domains associated with a cPanel account, expcept for the main domain name.
Copyright 2007 cPanel Inc.