Cpanel::Email::listmaildomains

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.


SYNOPSIS

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.