Description
This function deletes an email forwarder that forwards mail to another address.
Warning:
We strongly recommend that you use the following UAPI function instead of this function:
-
Email::delete_forwarder
— This function deletes an email 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 |
|
string |
Required The forwarded email address. |
A valid email address on the cPanel account. |
user@example.com |
emaildest |
string |
Required The email address to which the forwarder sends messages. |
A valid email address. |
fwdtome@example.com |
Returns
Return |
Type |
Description |
Possible values |
Example |
statusmsg |
string |
A message of success or failure. |
|
OK |
status |
Boolean |
Whether the function succeeded. |
|
1 |
result |
Boolean |
Whether the function succeeded. |
|
1 |