Class ImapFolderInfo

ImapFolderInfo class

Represents an IMAP folder.

public sealed class ImapFolderInfo

Properties

NameDescription
FolderType { get; }Gets information about folder purpose in case if it is used as special folder. This option is accessible only in case if server supports IMAP LIST: Special-Use Mailboxes (rfc6154) See more: http://tools.ietf.org/html/rfc6154
HasChildren { get; }Gets value indicating whether folder contains subfolders. This option is accessible only in case if server supports IMAP4 LIST Command Extensions (rfc5258) See more: http://tools.ietf.org/html/rfc5258 If value is true, it indicates that the folder has child sub-folders that are accessible to the currently authenticated user, otherwise false.
HighestModSequence { get; }Gets value of all messages in the mailbox. See more: https://tools.ietf.org/html/rfc7162
Marked { get; }Gets a value indicating whether it is marked this folder.
Name { get; }Gets the name of the folder.
NewMessageCount { get; }Gets the number of the new messages.
NoInferiors { get; }Gets a value indicating whether this folder can have child levels. If it is True, then no child levels exist now and none can be created in the future
NoModSeq { get; }Gets value which indicates if mailbox supports mod-sequences. This property works only if server supports CONDSTORE extension. Please, read more https://tools.ietf.org/html/rfc4551#section-3.1.2
NonExistent { get; }Gets value indicating whether a folder name is referred to an existing folder. See more: http://tools.ietf.org/html/rfc5258
ReadOnly { get; }Gets a value indicating whether the folder is read-only.
RecentMessageCount { get; }Gets the number of messages that arrived recently.
Remote { get; }Gets value indicating that a folder is a remote mailbox. This option is accessible only in case if server supports IMAP4 LIST Command Extensions (rfc5258) See more: http://tools.ietf.org/html/rfc5258
Selectable { get; }Gets a value indicating whether it is possible to select this folder.
Subscribed { get; }Gets value that indicates that a folder name is subscribed to. See more: http://tools.ietf.org/html/rfc5258
TotalMessageCount { get; }Gets the number of messages in the folder.
UIDNext { get; }Gets the validity ID of the mailbox.
UidNotSticky { get; }Gets value which indicates if mail store does not support persistent UIDs This property works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
ValidityId { get; }Gets the validity ID of the mailbox.

Methods

NameDescription
override ToString()Returns a string that represents the current object.

Fields

NameDescription
const InBoxGets inbox name.

See Also