Mailbox Property

Name of the mailbox selected on the server.

Syntax

imapcontrol.Mailbox[=string]

Default Value

"Inbox"

Remarks

This method contains the name of the mailbox selected on the server, and is also used as argument to most methods. Please refer to the control methods for more information.

Example (Open a Mailbox in Read/Write Mode)


IMAPControl.Mailbox = "INBOX"
IMAPControl.SelectMailbox

Example (Open a Mailbox in Read-Only Mode)


IMAPControl.Mailbox = "INBOX.Folder"
IMAPControl.ExamineMailbox

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 ActiveX Edition - Version 20.0 [Build 8307]