|  | Imap | 
 Inheritance Hierarchy
Inheritance Hierarchy Syntax
Syntaxpublic class ImapFolder : MailFolder, IImapFolder, IMailFolder, IEnumerable<MimeMessage>, IEnumerable
The ImapFolder type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ImapFolder | Initializes a new instance of the ImapFolder class. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | AcceptedFlags | Get the accepted flags. (Inherited from MailFolder) | 
|  | AcceptedKeywords | Get the accepted keywords. (Inherited from MailFolder) | 
|  | Access | Get the read/write access of the folder. (Inherited from MailFolder) | 
|  | AnnotationAccess | Get the annotation access level. (Inherited from MailFolder) | 
|  | AnnotationScopes | Get the supported annotation scopes. (Inherited from MailFolder) | 
|  | AppendLimit | Get the maximum size of a message that can be appended to the folder. (Inherited from MailFolder) | 
|  | Attributes | Get the folder attributes. (Inherited from MailFolder) | 
|  | CanOpen | Get whether or not the folder can be opened. (Inherited from MailFolder) | 
|   | Count | Get the total number of messages in the folder. (Inherited from MailFolder) | 
|  | DirectorySeparator | Get the directory separator. (Inherited from MailFolder) | 
|  | Exists | Get a value indicating whether the folder exists. (Inherited from MailFolder) | 
|  | FirstUnread | Get the index of the first unread message in the folder. (Inherited from MailFolder) | 
|  | FullName | Get the full name of the folder. (Inherited from MailFolder) | 
|  | HighestModSeq | Get the highest mod-sequence value of all messages in the mailbox. (Inherited from MailFolder) | 
|  | Id | Get the unique identifier for the folder, if available. (Inherited from MailFolder) | 
|  | IsNamespace | Get whether or not the folder is a namespace folder. (Inherited from MailFolder) | 
|  | IsOpen | Gets a value indicating whether the folder is currently open. (Overrides MailFolderIsOpen) | 
|  | IsSubscribed | Get a value indicating whether the folder is subscribed. (Inherited from MailFolder) | 
|  | MaxAnnotationSize | Get the maximum size of annotation values supported by the folder. (Inherited from MailFolder) | 
|  | Name | Get the name of the folder. (Inherited from MailFolder) | 
|  | ParentFolder | Get the parent folder. (Inherited from MailFolder) | 
|  | PermanentFlags | Get the permanent flags. (Inherited from MailFolder) | 
|  | PermanentKeywords | Get the permanent keywords. (Inherited from MailFolder) | 
|  | Recent | Get the number of recently delivered messages in the folder. (Inherited from MailFolder) | 
|  | Size | Get the size of the folder. (Inherited from MailFolder) | 
|  | SyncRoot | Gets an object that can be used to synchronize access to the IMAP server. (Overrides MailFolderSyncRoot) | 
|  | ThreadingAlgorithms | Get the threading algorithms supported by the folder. (Overrides MailFolderThreadingAlgorithms) | 
|  | UidNext | Get the UID that the folder will assign to the next message that is added. (Inherited from MailFolder) | 
|  | UidValidity | Get the UID validity. (Inherited from MailFolder) | 
|  | Unread | Get the number of unread messages in the folder. (Inherited from MailFolder) | 
 Methods
Methods Events
Events| Name | Description | |
|---|---|---|
|  | AnnotationsChanged | Occurs when annotations changed on a message. (Inherited from MailFolder) | 
|  | Closed | Occurs when the folder is closed. (Inherited from MailFolder) | 
|   | CountChanged | Occurs when the message count changes. (Inherited from MailFolder) | 
|  | Deleted | Occurs when the folder is deleted. (Inherited from MailFolder) | 
|  | HighestModSeqChanged | Occurs when the highest mod-sequence changes. (Inherited from MailFolder) | 
|  | IdChanged | Occurs when the folder ID changes. (Inherited from MailFolder) | 
|   | MessageExpunged | Occurs when a message is expunged from the folder. (Inherited from MailFolder) | 
|   | MessageFlagsChanged | Occurs when flags changed on a message. (Inherited from MailFolder) | 
|  | MessageLabelsChanged | Occurs when labels changed on a message. (Inherited from MailFolder) | 
|  | MessageSummaryFetched | Occurs when a message summary is fetched from the folder. (Inherited from MailFolder) | 
|  | MessagesVanished | Occurs when a message vanishes from the folder. (Inherited from MailFolder) | 
|  | MetadataChanged | Occurs when metadata changes. (Inherited from MailFolder) | 
|  | ModSeqChanged | Occurs when the mod-sequence changed on a message. (Inherited from MailFolder) | 
|  | Opened | Occurs when the folder is opened. (Inherited from MailFolder) | 
|  | RecentChanged | Occurs when the recent message count changes. (Inherited from MailFolder) | 
|  | Renamed | Occurs when the folder is renamed. (Inherited from MailFolder) | 
|  | SizeChanged | Occurs when the folder size changes. (Inherited from MailFolder) | 
|  | Subscribed | Occurs when the folder is subscribed. (Inherited from MailFolder) | 
|  | UidNextChanged | Occurs when the next UID changes. (Inherited from MailFolder) | 
|  | UidValidityChanged | Occurs when the UID validity changes. (Inherited from MailFolder) | 
|  | UnreadChanged | Occurs when the unread message count changes. (Inherited from MailFolder) | 
|  | Unsubscribed | Occurs when the folder is unsubscribed. (Inherited from MailFolder) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | AddFlags | Add a set of flags to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddFlags | Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddFlagsAsync | Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddLabels | Add a set of labels to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddLabels | Add a set of labels to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddLabels | Add a set of labels to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddLabels | Add a set of labels to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddLabels | Add a set of labels to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddLabels | Add a set of labels to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddLabelsAsync | Asynchronously add a set of labels to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddLabelsAsync | Asynchronously add a set of labels to the specified messages. (Defined by IMailFolderExtensions) | 
|  | AddLabelsAsync | Asynchronously add a set of labels to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddLabelsAsync | Asynchronously add a set of labels to the specified message. (Defined by IMailFolderExtensions) | 
|  | AddLabelsAsync | Asynchronously add a set of labels to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | AddLabelsAsync | Asynchronously add a set of labels to the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified messages to the folder. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified messages to the folder. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified messages to the folder. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified messages to the folder. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | Append | Append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified messages to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified messages to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified messages to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified messages to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|  | AppendAsync | Asynchronously append the specified message to the folder. (Defined by IMailFolderExtensions) | 
|   | Fetch | Fetch the message summaries for the specified message UIDs. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message indexes. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message UIDs. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message UIDs. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message UIDs that have a
            higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message indexes. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message indexes. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message indexes that have a
            higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the messages between the two indexes, inclusive. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message UIDs that have a
            higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message UIDs that have a
            higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message indexes that have a
            higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the specified message indexes that
            have a higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the messages between the two indexes, inclusive. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the messages between the two indexes, inclusive. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the messages between the two indexes (inclusive)
            that have a higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the messages between the two indexes (inclusive)
            that have a higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | Fetch | Fetch the message summaries for the messages between the two indexes (inclusive)
            that have a higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|   | FetchAsync | Asynchronously fetch the message summaries for the specified message UIDs. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message indexes. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message UIDs. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message UIDs. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message UIDs that have a
            higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message indexes. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message indexes. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message indexes that have a
            higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the messages between the two indexes, inclusive. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message UIDs that have a
            higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message UIDs that have a
            higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message indexes
            that have a higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the specified message indexes
            that have a higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the messages between the two indexes, inclusive. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the messages between the two indexes, inclusive. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the messages between the two indexes
            (inclusive) that have a higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the messages between the two indexes
            (inclusive) that have a higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | FetchAsync | Asynchronously fetch the message summaries for the messages between the two indexes
            (inclusive) that have a higher mod-sequence value than the one specified. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveFlags | Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveFlagsAsync | Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveLabels | Remove a set of labels from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveLabels | Remove a set of labels from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveLabels | Remove a set of labels from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveLabels | Remove a set of labels from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveLabels | Remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveLabels | Remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveLabelsAsync | Asynchronously remove a set of labels from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveLabelsAsync | Asynchronously remove a set of labels from the specified messages. (Defined by IMailFolderExtensions) | 
|  | RemoveLabelsAsync | Asynchronously remove a set of labels from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveLabelsAsync | Asynchronously remove a set of labels from the specified message. (Defined by IMailFolderExtensions) | 
|  | RemoveLabelsAsync | Asynchronously remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | RemoveLabelsAsync | Asynchronously remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | Replace | Replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | Replace | Replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | Replace | Replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | Replace | Replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | Replace | Replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | Replace | Replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | Replace | Replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | Replace | Replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | ReplaceAsync | Asynchronously replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | ReplaceAsync | Asynchronously replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | ReplaceAsync | Asynchronously replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | ReplaceAsync | Asynchronously replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | ReplaceAsync | Asynchronously replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | ReplaceAsync | Asynchronously replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | ReplaceAsync | Asynchronously replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | ReplaceAsync | Asynchronously replace a message in the folder. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetFlags | Set the flags of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetFlagsAsync | Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetLabels | Set the labels of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetLabels | Set the labels of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetLabels | Set the labels of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetLabels | Set the labels of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetLabels | Set the labels of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetLabels | Set the labels of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetLabelsAsync | Asynchronously set the labels of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetLabelsAsync | Asynchronously set the labels of the specified messages. (Defined by IMailFolderExtensions) | 
|  | SetLabelsAsync | Asynchronously set the labels of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetLabelsAsync | Asynchronously set the labels of the specified message. (Defined by IMailFolderExtensions) | 
|  | SetLabelsAsync | Asynchronously set the labels of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
|  | SetLabelsAsync | Asynchronously set the labels of the specified messages only if their mod-sequence value is less than the specified value. (Defined by IMailFolderExtensions) | 
 Remarks
Remarks Example
Examplepublic static void DownloadMessages () { using (var client = new ImapClient ()) { client.Connect ("imap.gmail.com", 993, SecureSocketOptions.SslOnConnect); client.Authenticate ("username", "password"); client.Inbox.Open (FolderAccess.ReadOnly); var uids = client.Inbox.Search (SearchQuery.All); foreach (var uid in uids) { var message = client.Inbox.GetMessage (uid); // write the message to a file message.WriteTo (string.Format ("{0}.eml", uid)); } client.Disconnect (true); } }
 See Also
See Also