SelectMailbox Method

Select a Mailbox.

Syntax

public void SelectMailbox();
Public Sub 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

.NET Standard Notes

To call this method in an asynchronous manner call SelectMailboxAsync instead. When the method completes (or an error is encountered) the SelectMailboxCompleted event will fire.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 .NET Edition - Version 20.0 [Build 7718]