Description
This function lists a domain's forwarders.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
domain |
string |
Required The domain. |
A valid domain on the account. |
example.com |
regex |
string |
A Perl Compatible Regular Expression (PCRE) that filters the results. If you do not use this parameter, the function returns results for all of the account's filters. |
A valid PCRE. |
user |
Returns
Return |
Type |
Description |
Possible values |
Example |
uri_dest |
string |
The forwarded mail's destination.
|
The location to which the system sends forwarded mail in a URI-encoded format. |
fwdtome%40example.com |
forward |
string |
The forwarded address.
|
An email address on the cPanel account. |
user@example.com |
html_dest |
string |
The forwarded mail's destination.
|
The location to which the system sends forwarded mail in an HTML-compatible format. |
fwdtome@example.com |
uri_forward |
string |
The forwarded address.
|
An email address on the cPanel account in a URI-encoded format. |
user@example.com |
dest |
string |
The forwarded mail's destination.
|
The location to which the system sends forwarded mail. |
fwdtome@example.com |
html_forward |
string |
The forwarded address.
|
An email address on the cPanel account in an HTML-compatible format. |
user@example.com |