Cpanel::Email::listforwards

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.


SYNOPSIS

Cpanel::Email::listforwards


DESCRIPTION

This tag will list all email accounts with forwarders for a domain as well as the desitination of forwarded mail.


VARIABLES

INPUT

domain (string)
Domain to list accounts with forwarders, Format: domain.com

OUTPUT

forward (string)
Email account being forwarded. Format: email@domain.com

dest (string)
Destination of forwarded emails.


EXAMPLES

<?cp Email::listforwards(% %,dest,forward) domain=exampledomain.com ?>

This example will list all email accounts with fowarders, their respective forwarders for exampledomain.com.


COPYRIGHT

Copyright 2007 cPanel Inc.