-
Notifications
You must be signed in to change notification settings - Fork 153
ImapClient
Dmitry Boyarintsev edited this page Nov 14, 2021
·
5 revisions
The class implements IMAP client protocol communication.
Mailbox SelectMailbox(string mailboxName)
The method changes the current mailbox (directory/folder) selected. This affects the methods that depend on the the "current" mailbox selection. (i.e. GetMessageCount)
There are two methods implemented provided:
int GetMessageCount()
The method retrieves the number of email in the selected mailbox. (if none selected, attempts to read "INBOX") The method is part of IMailClient interface.
int GetMessageCount(string mailbox)
The method retrieves the number of email in the mailbox specified by name.