Class Pop3MessageInfo
Information about a single message in a POP3 mailbox (from LIST or UIDL). Immutable. The message number is 1-based and valid only for the current session.
Inherited Members
Namespace: DRIT.Mail.Rfc.Pop3
Assembly: DRIT.Mail.dll
Syntax
public sealed class Pop3MessageInfo
Constructors
View SourcePop3MessageInfo(int, long, string?)
Initializes a new instance of the Pop3MessageInfo class.
Declaration
public Pop3MessageInfo(int messageNumber, long sizeBytes, string? uid)
Parameters
| Type | Name | Description |
|---|---|---|
| int | messageNumber | The 1-based message number. |
| long | sizeBytes | The message size in bytes (from LIST). |
| string | uid | The unique identifier (from UIDL), or null if not requested. |
Properties
View SourceMessageNumber
Gets the 1-based message number, valid only for this session.
Declaration
public int MessageNumber { get; }
Property Value
| Type | Description |
|---|---|
| int |
SizeBytes
Gets the message size in bytes.
Declaration
public long SizeBytes { get; }
Property Value
| Type | Description |
|---|---|
| long |
Uid
Gets the unique identifier (from UIDL), or null if not requested.
Declaration
public string? Uid { get; }
Property Value
| Type | Description |
|---|---|
| string |