latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Mail
Mail Server Settings

Return domain's SNI mail services status

This function retrieves the status of the domain's SNI mail services.

Note:

Functions that disable Mail SNI fail and make no changes.

get/mail_sni_status

Query parameters

domainstring required
Example:example.com

The account's domain.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "enabled": 1
  },
  "metadata": {
    "command": "mail_sni_status",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}