Deletes the mail message with the specified message number.

Namespace: S22.Pop3
Assembly: S22.Pop3 (in S22.Pop3.dll) Version: 1.1.4653.26443 (1.1.0.0)

Syntax

C#
public void DeleteMessage(
	uint number
)

Parameters

number
Type: System..::..UInt32
The message number of the mail message that is to be deleted.

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 mail message could not be deleted. The message property of the exception contains the error message returned by the server.

See Also