cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Mail → Update cPanel account email forward destination

AI-generated

Summary

Set or update the email forwarding destination for a specified cPanel system account, directing incoming mail to one or more target addresses.

Inputs

  • User (required) — The cPanel system account name whose email forwarding destination you want to update.
  • Forward To (required) — The target email address or system account name to forward mail to. Use a comma-separated list to forward to multiple destinations.

Output shape

a response object indicating success or failure of the forwarding update operation

The response will contain WHM API response data confirming the update or detailing any errors encountered.

Links

Discussion