Hunny Software Library Reference

Pop3Client.Dele Method 

Sends the DELE command.

[Visual Basic]
Public Sub Dele( _
   ByVal msgNum As Integer _
)
[C#]
public void Dele(
   int msgNum
);

Parameters

msgNum
The message sequence number of a message in the POP3 mailbox.

Remarks

The DELE command requests that the server mark a message for deletion. The message is not actually deleted until (and unless) the mailbox is closed properly using the QUIT command.

The server's response to the DELE command indicates success or failure. To learn if the command succeeded, get the ReplyCode property. If the value is Pop3ReplyCode.OK, then the command succeeded. If the value is Pop3ReplyCode.ERR, then the command failed.

Exceptions

Exception TypeCondition
ExceptionIf a network or protocol error occurs.

See Also

Pop3Client Class | Hunny.Mail Namespace | POP3 DELE command