Mail
cPanel Account Mail Management
Update cPanel account email forward destination
This function sets the destination to which the system forwards a system account's email.
Notes:
- Usually, the system sends notices about the server's problems and activity to the root account.
- If you do not use the suexec module, the nobody user receives bounce messages from email that CGI scripts send.
get/set_user_email_forward_destination
Query parameters
forward_tostring required
Example:user
The system account name or email address to which you wish to forward email.
Note:
To forward messages to multiple accounts or email addresses, use a comma-separated list.
userstring required
Example:root
The system account name to forward.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "set_user_email_forward_destination",
"reason": "OK",
"result": 1,
"version": 1
}
}