Click or drag to resize

ImapClientListMessages Method

Lists all messages in the selected folder.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version:
public ReadOnlyCollection<ImapMessageInfo> ListMessages()

Return Value

Type: ReadOnlyCollectionImapMessageInfo
A read-only collection of all messages in the selected folder. If folder is empty, returns an empty collection.
InvalidOperationException No folder is selected or Client is not connected or Server error.
See Also