Deletes the mail message with the specified message number.
Namespace: S22.Pop3Assembly: 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
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 mail message could not be deleted. The message property of the exception contains the error message returned by the server. |