latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Mail
Mail Server Settings

Return server mail queue contents

This function retrieves the contents of the server's mail queue.

get/fetch_mail_queue

Response

HTTP Request was successful.

Example response

{
  "data": {
    "records": [
      {
        "msgid": "1UotX3-0002HX-Lr",
        "recipients": [
          "pricilla@graceland.com"
        ],
        "sender": "elvis@graceland.com",
        "size": 14336,
        "time": 1371552781
      }
    ]
  },
  "metadata": {
    "command": "fetch_mail_queue",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}