GetUserNumMessages()

From Rackspace Email & Apps API
Revision as of 12:53, 22 August 2008 by APIAdmin (talk | contribs) (New page: 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. ===Inpu...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

Input Parameters

Four strings, two integers:

   Administrative username,
   Administrative password,
   Domain name,
   User ID (the portion of the email address before the @ symbol),
   Total message count,
   New message count

Return Values

If successful, the return value of the function will be 1.

The total message count and new message count will hold integers as expected.

Consult the Result Code Table for a list of result codes and their meaning.