IMAPFolders object

Description

The IMAPFolders object is a collection of the root IMAP folders in an account, or the public folders.

Methods

Add(string sName )

Adds an IMAP folder with the given name to the collection. It is saved immediately.

DeleteByDBID(long lDBID)

Deletes an IMAP folder with the given database identifier.

Properties

long Count

Returns the number of IMAP folders in the collection
(read-only)

IMAPFolder Item(long Index)

Returns an IMAP folder by it's index in the collection.
(read-only)

IMAPFolder ItemByDBID(long DBID)

Returns an IMAP folder by it's database ID.
(read-only)

IMAPFolder ItemByName(string sName)

Returns an IMAP folder by it's name.
(read-only)

Search documentation