Description
This function retrieves the system's maximum email quota.
Warning:
We strongly recommend that you use following UAPI functions instead of this function:
-
Email::get_max_email_quota
— This function retrieves the system's maximum email quota. Email::get_max_email_quota_mib
— This function retrieves the system's maximum email quota in mebibytes.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
get_max_email_quota |
integer |
The system's maximum email quota. |
A positive integer that measures the quota in Megabytes (MB). |
2048 |
reason |
string |
A reason for failure. Note: This function only returns a reason value if it failed. |
A string that describes the error. |
This is an error message. |
result |
Boolean |
Whether the function succeeded. |
|
1 |