Hunny Software Library Reference

Imap4Client.Delete Method 

Sends a DELETE command.

[Visual Basic]
Public Sub Delete( _
   ByVal mailboxName As String _
)
[C#]
public void Delete(
   string mailboxName
);

Parameters

mailboxName
The name of the mailbox to delete.

Remarks

A DELETE command requests the server to delete an existing mailbox. The mailboxName parameter should contain the name of the mailbox to be deleted.

Exceptions

Exception TypeCondition
ExceptionIf a network or protocol error occurs.

See Also

Imap4Client Class | Hunny.Mail Namespace | DELETE command in the IMAP4 specification