Description
This function retrieves an email account's disk quota.
Warning:
- UAPI (recommended) —
Email::get_pop_quota
— This function retrieves an email account's quota. - cPanel API 2 — None.
Examples
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
|
string |
Required The email account name. |
A valid email account name on the server. For example, user if the email address isuser@example.com . |
user |
domain |
string |
Required The email account's domain. |
The domain that corresponds to the email account. For example, example.com if the email address isuser@example.com . |
example.com |
Returns
This function returns the quota for the email account, as an integer.
Note:
A value of unlimited
indicates that the account may use unlimited disk space.