The clean-mail-queue operation is used to reboot your server.
A request XML packet (
server_input.xsd) that clears the mail queue:
Response Packet Structure
The clean-mail-queue node of the output XML packet is of complex type (
server_output.xsd) which has the following presentation:
It wraps the result of the clean-mail-queue operation. Data type: resultType (
It returns the execution status of the operation. Data type: string. Allowed values: ok | error.
errcode, required if the operation fails.
Returns error code. Data type: unsignedInt.
errtext, required if the operation fails.
Returns error message. Data type: string.
A positive response from the server looks as follows:
This request clears the mail queue: