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.
Synoposis
Cpanel::Email::listmaildomains
Description
This function outputs a list of all domains associated with a cPanel account.
Variables
Input
- skipmain (string)
- This variable controls the output of the main domain. If skipmain=1, the main domain will not be displayed.
Output
- domain (string)
- This variable outputs the name of a domain associated with your account.
Examples
<?cp Email::listmaildomains( %, domain) skipmain=1 ?>
This example will output all domains associated with a cPanel account, expcept for the main domain name.
Copyright
Copyright 2007 cPanel Inc.
Topic revision: r2 - 07 Apr 2009 - 21:22:57 - Main.JustinSchaefer