Description
This function creates a domain-level forwarder.
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 from which to forward mail. |
A valid domain on the cPanel account. |
example.com |
destdomain |
string |
Required The domain to receive forwarded mail. |
A valid domain. |
forwardtome.com |
Returns
Return |
Type |
Description |
Possible values |
Example |
messages |
string |
A message of success, or a reason for failure. |
|
File updated "/etc/vdomainaliases/example.com |