Creates a new mailbox on IMAP server.
Namespace: Jscape.EmailAssembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public void CreateMailbox( string mailbox ) |
Visual Basic |
---|
Public Sub CreateMailbox ( _ mailbox As String _ ) |
Visual C++ |
---|
public: void CreateMailbox( String^ mailbox ) |
Parameters
- mailbox
- Type: System..::..String
The name of the malbox to create.
Remarks
To use the newly created mailbox, you must set the mailbox as current
using the SelectMailbox(String) method.
Examples
This example creates a mailbox named Test.
CopyImap CreateMailbox
CopyImap CreateMailbox

myImap.CreateMailbox("Test");

myImap.CreateMailbox("Test")