This function sets the destination to which the system forwards a system account's email.
Notes:
root
account.suexec
module, the nobody
user receives bounce messages from email that CGI scripts send.Important:
When you disable the Receive Mail role, the system disables this function.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ set_user_email_forward_destination \ user='root' \ forward_to='user'
{- "metadata": {
- "command": "set_user_email_forward_destination",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}