Folder Class
Represents a folder (mailbox in IMAP4 terms) of the account on the mail server.
Inheritance Hierarchy
SystemObject
  MailBee.ImapMailFolder

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public class Folder

The Folder type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDelimiter
Gets the character which is used as a hierarchy delimiter of separate levels of folder names.
Public propertyFlags
Gets the set of flags associated with the folder.
Public propertyIsValid
Gets if the server response containing the folder information has been successfully parsed.
Public propertyName
Gets the full name of the folder including parent folder names if any.
Public propertyNestingLevel
Gets the level of nesting of this folder into parent folders.
Public propertyRawName
Gets the full name of the folder as was returned by the server including parent folder names if any.
Public propertyShortName
Gets the short name (without parent folder names if any) of the folder.
Top
Remarks
The list of folders can be obtained using DownloadFolders(Boolean, String, String) method of Imap component. In any case, an account on the mail server is guaranteed to contain at least "INBOX" folder (case-insensitive). Also, IMAP4 accounts often contain folders such as "Sent", "Drafts", etc.
See Also