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.
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ hold_outgoing_email \ user='example'
{- "metadata": {
- "command": "hold_outgoing_email",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}