GetSubaccounts()
From Rackspace Email & Apps API
This function will return the number of messages in the Inbox folder of a mailbox and will return the number of messages in the Inbox folder flagged as new based on the IMAP flag.
Parameters
Three strings:
Administrative username, Administrative password,
Account listing ("account #, account name [crlf] account #, account name [crlf] …”)
Return Values
If successful, the return value of the function will be 1.
The account listing will hold a list of account numbers and names associated with the reseller username and password supplied.
Consult the Result Code Table for a list of result codes and their meaning.