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: 13.0.35.1019
Syntax
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.
Exceptions
ExceptionCondition
InvalidOperationException No folder is selected or Client is not connected or Server error.
See Also