Mail
Mail Server Settings
(Deprecated) Disable SNI mail services for domains
This function is deprecated and always fails.
Note:
Mail SNI is always enabled. cPanel & WHM no longer allows mail SNI to be disabled.
- Functions that disable Mail SNI fail and make no changes.
- Functions that enable Mail SNI succeed with a warning that Mail SNI is always enabled.
get/disable_mail_sni
Query parameters
domainstring
Example:example.com
The account's domain. You may pass multiple domains using additional numbered parameters (e.g., domain-1, domain-2).
Note: This parameter has no effect — this function always fails regardless of any input because mail SNI can no longer be disabled.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "disable_mail_sni",
"reason": "cPanel & WHM no longer allows mail SNI to be disabled.",
"version": 1
}
}