latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Mail
cPanel Account Mail Management

Add cPanel account to outbound email hold queue

This function sets Exim's queue to hold email that a user sends to an external address.

Note:

If mail for a cPanel user's account is suspended, the system will reject their email before the mail server puts it in the queue.

get/hold_outgoing_email

Query parameters

userstring required
Example:example

The cPanel account.

Note

You cannot suspend the root user's outgoing email with this function.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "hold_outgoing_email",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}