IPWorks 2020 C++ Builder Edition

Questions / Feedback?

SelectMailbox Method

Select a Mailbox.

Syntax

void __fastcall SelectMailbox();

Remarks

This method asks the server to select the mailbox specified in the Mailbox property. The mailbox is selected in read/write mode (if the server permits).

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

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