A mail folder must be formally "opened" before the messages in the folder may be accessed. Each mail account can have only one mail folder at any time Opening another folder automatically "closes" the previous folder.
NOTE: | Different mail::account or mail::ACCOUNT objects may each have a folder opened, at the same time. It is possible to create multiple mail::account or mail::ACCOUNT objects that refer to the same actual mail account. Whether it is possible to access the same account multiple times, using different objects, and whether each object may have the same folder opened depends on the account type and/or the remote server.
|
Any previously-opened folder is closed before the an attempt to open this folder is made. If the new folder cannot be opened, the previous folder is still considered closed.
This method returns true if it succeeds, or fail if it fails. If the method fails, use mail::ACCOUNT::getErrmsg() to read a brief description of the error.
<<< Previous | Home | Next >>> |
mail::ACCOUNT::moveMessagesTo | Up | mail::ACCOUNT::readFolderInfo |