Class ImapMailboxStatus
The result of an IMAP STATUS command (RFC 9051 §6.3.10). Immutable. Contains mailbox counts without selecting the mailbox.
Inherited Members
Namespace: DRIT.Mail.Rfc.Imap
Assembly: DRIT.Mail.dll
Syntax
public sealed class ImapMailboxStatus
Constructors
View SourceImapMailboxStatus(int?, int?, int?, long?, long?)
Initializes a new instance of the ImapMailboxStatus class.
Declaration
public ImapMailboxStatus(int? messages, int? recent, int? unseen, long? uidNext, long? uidValidity)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | messages | |
| int? | recent | |
| int? | unseen | |
| long? | uidNext | |
| long? | uidValidity |
Properties
View SourceMessages
Gets the number of messages in the mailbox, or null if not requested.
Declaration
public int? Messages { get; }
Property Value
| Type | Description |
|---|---|
| int? |
Recent
Gets the number of recent messages, or null if not requested.
Declaration
public int? Recent { get; }
Property Value
| Type | Description |
|---|---|
| int? |
UidNext
Gets the UIDNEXT value, or null if not requested.
Declaration
public long? UidNext { get; }
Property Value
| Type | Description |
|---|---|
| long? |
UidValidity
Gets the UIDVALIDITY value, or null if not requested.
Declaration
public long? UidValidity { get; }
Property Value
| Type | Description |
|---|---|
| long? |
Unseen
Gets the first unseen sequence number, or null if not requested.
Declaration
public int? Unseen { get; }
Property Value
| Type | Description |
|---|---|
| int? |