AddHosting - CatchAllAddress
This command is used to create a new cPanel user account with a specific “TYPE”. There is a separate API command page for each specific “TYPE”. Please kindly note the “TYPE” parameter value here. Different parameters are needed for different “TYPE”.
Required Parameters
Section titled “Required Parameters”The following parameters are standard parameters for this command.
Command
COMMAND = AddHostingTYPE = CatchalladdressCLASS = cpanelACCOUNT = (TEXT)Attributes
Section titled “Attributes”| ACCOUNT | The cPanel account ID of the end customer. |
|---|---|
| OBJECT | The catchall email address will receive any mail for an invalid email address for its domain. |
| OPTION | Possible values are fwd, fail, blackhole. |
| REASON | In the case of account suspension, this is the description. |
| TARGET | The target destination. |
Optional
Section titled “Optional”The following parameters are optional for this command.
Command
COMMAND = AddHostingTYPE = CatchalladdressCLASS = cpanelACCOUNT = (TEXT)OBJECT = (TEXT)OPTION = fwd, fail, blackholeTARGET = (TEXT)REASON = (TEXT)Hosting - cPanel commands