Pop3ClientDeleteMessageAsync Method (IConnection, Int32)

Deletes the message

Namespace:  Aspose.Email.Clients.Pop3
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task DeleteMessageAsync(
	IConnection connection,
	int sequenceNumber
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
sequenceNumber
Type: SystemInt32
The sequence number of the message

Return Value

Type: Task
Task object, with delegate for this operation
Remarks
The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.
See Also