Marks the message with the given message number as deleted.
The message will not be deleted until a QUIT command is sent to the server.
This is done when you call Disconnect or when the Pop3Client is Disposed.
Parameters
- messageNumber
- The number of the message to be deleted. This message may not already have been deleted.
The messageNumber must be inside the range [1, messageCount]
Exceptions
Exception Type | Condition |
---|---|
PopServerException | If the server did not accept the delete command |
See Also
Pop3Client Class | OpenPop.Pop3 Namespace