| ImapSelectAsync Method (String) |
Selects specified folder (mailbox) as the current folder so that messages inside can be accessed.
Select command will remove the
Recent flag since the folder has now been viewed
(This is not the same as the
Seen IMAP flag).
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public Task<FolderStatus> SelectAsync(
string folder
)
Public Function SelectAsync (
folder As String
) As Task(Of FolderStatus)
public:
Task<FolderStatus^>^ SelectAsync(
String^ folder
)
member SelectAsync :
folder : string -> Task<FolderStatus>
Parameters
- folder
- Type: SystemString
Folder name.
Return Value
Type:
TaskFolderStatusStatus of the folder (mailbox). It can be updated by subsequent
Noop or other commands.
Remarks
IMAP servers may differ in the separator character used in folder hierarchy paths.
Common separator chars are '.' and '/'. For example: "Inbox/Folder" or "Inbox.Folder".
See Also