A. mail::ACCOUNT Synchronous API reference

A mail::ACCOUNT object represents a "mail account". An account is a collection of folders (mail::folder objects). The folders are arranged in a hierarchy, top to bottom. A folder must be "opened", before messages in the folder can be read. One folder, per account, can be opened at a time. Opening another folder closes the previous folder. mail::ACCOUNT objects contain methods for enumerating and navigating the mail::folder objects, and for accessing messages in the currently-open folder.

Table of Contents
mail::ACCOUNT::addMessage -- Add a message to a folder
mail::ACCOUNT::checkNewMail -- Check for new mail in the current folder
mail::ACCOUNT::copyMessagesTo -- Copy messages to another folder
mail::ACCOUNT::createFolder -- Create a new folder
mail::ACCOUNT::deleteFolder -- Delete a folder
mail::ACCOUNT::delRights -- Delete an access control list identifier
mail::ACCOUNT::getFolderIndexInfo -- Return message status
mail::ACCOUNT::getFolderIndexSize -- Return number of messages in the current folder
mail::ACCOUNT::getFolderFromPath -- A direct short-cut to a folder
mail::ACCOUNT::getFolderFromString -- Restore a folder object
mail::ACCOUNT::getFolderKeywordInfo -- Return message keywords
mail::ACCOUNT::getMessageContent -- Read message content
mail::ACCOUNT::getMessageContentDecoded -- Read message content
mail::ACCOUNT::getMessageEnvelope -- Return message header envelope
mail::ACCOUNT::getMessageStructure -- Return message MIME structure
mail::ACCOUNT::getMyRights -- Compute my access rights on a folder
mail::ACCOUNT::getParentFolder -- Find parent folder
mail::ACCOUNT::getRights -- Read access control list
mail::ACCOUNT::getSubFolders -- Enumerate subfolders
mail::ACCOUNT::getTopLevelFolders -- Enumerate top-level folders
mail::ACCOUNT::login -- Open a new mail account
mail::ACCOUNT::logout -- Close a mail account
mail::ACCOUNT::moveMessagesTo -- Move messages to another folder
mail::ACCOUNT::openFolder -- Open a folder
mail::ACCOUNT::readFolderInfo -- Get folder status
mail::ACCOUNT::removeMessages -- Remove messages from the folder
mail::ACCOUNT::renameFolder -- Rename a folder
mail::ACCOUNT::saveFolderIndexInfo -- Update message status
mail::ACCOUNT::searchMessages -- Search messages in the current folder
mail::ACCOUNT::send -- Send a message
mail::ACCOUNT::setRights -- Change access control lists
mail::ACCOUNT::translatePath -- Convert readable folder path to internal folder path
mail::ACCOUNT::updateFolderIndexFlags -- Update status of multiple messages
mail::ACCOUNT::updateFolderIndexInfo -- Update status of the currently open folder
mail::ACCOUNT::updateKeywords -- Update message keywords