Description
This function retrieves information about a domain-level forwarder.
Warning:
We strongly recommend that you use the following UAPI function instead of this function:
-
Email::list_domain_forwarders
—Error rendering macro 'excerpt-include' : No link could be created for 'UAPI Functions - Email::list_domain_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 |
Returns
Return |
Type |
Description |
Possible values |
Example |
dest |
string |
The specified domain. |
A valid domain on the account. |
example.com |
forward |
string |
The domain to which the system forwards thedest domain's mail. |
A valid domain name. |
forwardtome.com |
reason |
string |
A reason for failure. Note: This function only returns a reasonvalue if it failed. |
A string that describes the error. |
This is an error message. |
result |
boolean |
Whether the function succeeded. |
|
1 |