cPanel WHM icon

cPanel WHM

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

Actions262

Mail → Add cPanel account to outbound email hold queue

AI-generated

Summary

Add a specified cPanel user account to the outbound email hold queue in WHM, preventing outgoing emails from being sent by that account.

Inputs

  • User (required) — The username of the cPanel account to be added to the outbound email hold queue. Note that the root user cannot be suspended from sending outgoing email with this operation.

Output shape

a single JSON object representing the API response from WHM, indicating success or failure of adding the specified cPanel user to the hold queue

The output contains the WHM API response structure and should be checked for error indications. There are no additional optional inputs for this operation.

Examples

Example 1: Add the cPanel account 'exampleuser' to the outbound email hold queue to prevent it from sending emails.

Set the User field to 'exampleuser'.

Links

Discussion