Deletes a mailbox on the IMAP server.
Namespace: Jscape.EmailAssembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public void DeleteMailbox( string mailbox ) |
Visual Basic |
---|
Public Sub DeleteMailbox ( _ mailbox As String _ ) |
Visual C++ |
---|
public: void DeleteMailbox( String^ mailbox ) |
Parameters
- mailbox
- Type: System..::..String
The name of the mailbox to delete.
Examples
This example deletes the mailbox named Test.
CopyImap DeleteMailbox
CopyImap DeleteMailbox

myImap.DeleteMailbox("Test");

myImap.DeleteMailbox("Test")