IEWSClientListMessagesByPage Method (String, Int32, Int32, ExchangeListMessagesOptions)

List the messages in the specified folder.

Namespace:  Aspose.Email.Clients.Exchange.WebService
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
ExchangeMessagePageInfo ListMessagesByPage(
	string folder,
	int itemsPerPage,
	int pageOffset,
	ExchangeListMessagesOptions options
)

Parameters

folder
Type: SystemString
A folder to search messages in.
itemsPerPage
Type: SystemInt32
A number of items in page
pageOffset
Type: SystemInt32
An offset of next item in view
options
Type: Aspose.Email.Clients.ExchangeExchangeListMessagesOptions
Specifies the settings of listing

Return Value

Type: ExchangeMessagePageInfo
ExchangeMessageInfoCollection that contains messages from the specified folder.
See Also