imap_get_quotaroot

Example

 array imap_get_quotaroot ( resource $imap_stream , string $quota_root ) 

Description

Retrieve the quota settings per user. The limit value represents the total amount of space allowed for this user's total mailbox usage. The usage value represents the user's current total mailbox capacity.

Return Values

Returns an array of integer values pertaining to the specified user mailbox. All values contain a key based upon the resource name, and a corresponding array with the usage and limit values within. This function will return FALSE in the case of call failure, and an array of information about the connection upon an un-parsable response from the server.