Retrieves a list of message numbers of all mail messages in the mailbox.
Namespace: S22.Pop3Assembly: S22.Pop3 (in S22.Pop3.dll) Version: 1.1.4653.26443 (1.1.0.0)
Syntax
| C# |
|---|
public uint[] GetMessageNumbers() |
Return Value
An array of message numbers representing the mail messages in the mailbox on the server.
Exceptions
| Exception | Condition |
|---|---|
| S22.Pop3..::..NotAuthenticatedException | Thrown if the method was called in a non-authenticated state, i.e. before logging into the server with valid credentials. |
| S22.Pop3..::..BadServerResponseException | Thrown if the operation could not be completed. The message property of the exception contains the error message returned by the server. |