This function suspends incoming email for an account. The system will reject incoming email while the account is suspended.
Notes:
Email::suspend_login
function.Email::unsuspend_incoming
function to allow the account to receive email.Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ suspend_incoming
{- "apiversion": 3,
- "func": "suspend_incoming",
- "module": "Email",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}