Dart Smtp, Pop, Imap Controls
Mailbox Object
Members 
Description
The Mailbox Object transforms an IMAP mailbox on a server into a local object that you can easily manipulate. Most properties manipulate the object model and the mailbox on the server.
Object Model
Mailbox ObjectDartStrings CollectionMessages Collection
Example
This example demonstrates how access a Mailboxes Object to rename a Mailbox Object.
Private Sub Command1_Click()
	On Error GoTo OnError ' use intrinsic error handling
	' Rename the "Misc" mailbox to "Test"
	Imap1.Mailboxes.Item("Misc").Name = "Test"
	Exit Sub
OnError: ' Any error jumps here
	Debug.Print "Error #" + CStr(Err.Number) + ": " + Err.Description
End Sub
See Also

Mailbox Members


PowerTCP Mail for ActiveX Documentation Version 2.13
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic