Retrieves a list of message numbers of all mail messages in the mailbox.

Namespace: S22.Pop3
Assembly: 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

ExceptionCondition
S22.Pop3..::..NotAuthenticatedExceptionThrown if the method was called in a non-authenticated state, i.e. before logging into the server with valid credentials.
S22.Pop3..::..BadServerResponseExceptionThrown if the operation could not be completed. The message property of the exception contains the error message returned by the server.

See Also