• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ImapFolder

Information about a single IMAP mailbox/folder as returned by LIST or LSUB (RFC 9051 §6.3.8–§6.3.9). Immutable.

Inheritance
object
ImapFolder
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Imap
Assembly: DRIT.Mail.dll
Syntax
public sealed class ImapFolder

Constructors

View Source

ImapFolder(string, string, ImapFolderFlags)

Initializes a new instance of the ImapFolder class.

Declaration
public ImapFolder(string name, string delimiter, ImapFolderFlags flags)
Parameters
Type Name Description
string name

The decoded mailbox name.

string delimiter

The hierarchy separator character.

ImapFolderFlags flags

The folder flags from the LIST response.

Properties

View Source

Delimiter

Gets the hierarchy separator character (usually . or /), or empty if not advertised.

Declaration
public string Delimiter { get; }
Property Value
Type Description
string
View Source

Flags

Gets the folder flags (\Marked, \Noselect, \HasChildren, etc.).

Declaration
public ImapFolderFlags Flags { get; }
Property Value
Type Description
ImapFolderFlags
View Source

Name

Gets the decoded mailbox name (modified UTF-7 decoded).

Declaration
public string Name { get; }
Property Value
Type Description
string
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX