This article documents the usage of the Cpanel::Email::listforwards function in relation to the cPanel interface. This tag can be used inside cPanel pages.
Cpanel::Email::listforwards
This tag will list all email accounts with forwarders for a domain as well as the desitination of forwarded mail.
<?cp Email::listforwards(% %,dest,forward) domain=exampledomain.com ?>
This example will list all email accounts with fowarders, their respective forwarders for exampledomain.com.
Copyright 2007 cPanel Inc.