Sends a SELECT command.
A SELECT command takes one parameter: the name of a mailbox (often called a mail "folder"). In response to a SELECT command, the server is required to send a FLAGS response, an EXISTS response, and a RECENT response. The server may optionally send OK responses with UNSEEN or PERMANENTFLAGS response codes.
| Exception Type | Condition |
|---|---|
| Exception | If a network or protocol error occurs. |
Imap4Client Class | Hunny.Mail Namespace | FlagsResponse | ExistsResponse | RecentResponse | OkResponse | SELECT command in the IMAP4 specification