Click or drag to resize

ImapClientGetMessageRange Method

Gets the collection of specified messages.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1012
Syntax
public ReadOnlyCollection<MailMessage> GetMessageRange(
	int startingNumber,
	int endingNumber
)

Parameters

startingNumber
Type: SystemInt32
First message number.
endingNumber
Type: SystemInt32
Last message number.

Return Value

Type: ReadOnlyCollectionMailMessage
A read-only collection of specified messages.
Exceptions
ExceptionCondition
InvalidOperationException No folder is selected or Client is not connected or Server error.
ArgumentOutOfRangeException Starting number is out of range or Ending number is out of range.
FreeLimitReachedException Free license limitation exceeded.
See Also