ListMessages

ListMessages (1 of 14)

List the messages in the inbox folder.

Returns: ExchangeMessageInfoCollection from inbox folder.

ListMessages()

ListMessages (2 of 14)

List the messages in the specified folder.

Returns: ExchangeMessageInfoCollection that contains messages with.

ListMessages(System::SharedPtr < System::Collections::Generic::IEnumerable< System::String >> iDs)
ParameterDescription
iDsEnumeration of message ids

ListMessages (3 of 14)

Lists the messages.

Returns: A ExchangeMessageInfoCollection

ListMessages(System::String folder)
ParameterDescription
folderThe folder.

ListMessages (4 of 14)

List the messages in the specified folder

Returns: ExchangeMessageInfoCollection that contains messages from the specified folder

ListMessages(System::String folder, bool recursive)
ParameterDescription
folderA folder to search messages in
recursiveIndicates whether recursive listing or not

ListMessages (5 of 14)

Lists the messages.

Returns: A ExchangeMessageInfoCollection

ListMessages(System::String folder, ExchangeListMessagesOptions options)
ParameterDescription
folderThe folder.
optionsSpecifies the settings of listing

ListMessages (6 of 14)

List the messages in the specified folder

Returns: ExchangeMessageInfoCollection that contains messages from the specified folder

ListMessages(System::String folder, ExchangeListMessagesOptions options, System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < Mapi::PropertyDescriptor >>> extendedProperties)
ParameterDescription
folderA folder to search messages in
optionsSpecifies the settings of listing
extendedPropertiesExtended properties of retrieved messages

ListMessages (7 of 14)

Lists the messages.

Returns: A ExchangeMessageInfoCollection

ListMessages(System::String folder, int32_t maxNumberOfMessages)
ParameterDescription
folderThe folder.
maxNumberOfMessagesMaximum number of messages

ListMessages (8 of 14)

Lists the messages.

Returns: A ExchangeMessageInfoCollection

ListMessages(System::String folder, int32_t maxNumberOfMessages, ExchangeListMessagesOptions options)
ParameterDescription
folderThe folder.
maxNumberOfMessagesMaximum number of messages
optionsSpecifies the settings of listing

ListMessages (9 of 14)

Lists the messages.

Returns: A ExchangeMessageInfoCollection

ListMessages(System::String folder, int32_t maxNumberOfMessages, System::SharedPtr < Tools::Search::MailQuery > query)
ParameterDescription
folderThe folder.
extendedPropertiesExtended properties of retrieved messages

ListMessages (10 of 14)

List the messages in the specified folder.

Returns: ExchangeMessageInfoCollection that contains messages from the specified folder.

ListMessages(System::String folder, int32_t maxNumberOfMessages, System::SharedPtr < Tools::Search::MailQuery > query, bool recursive)
ParameterDescription
folderA folder to search messages in.
maxNumberOfMessagesMaximum number of messages.
queryMailQuery that represents message search criteria.
recursiveIndicates whether recursive listing or not.

ListMessages (11 of 14)

List the messages in the specified folder.

Returns: ExchangeMessageInfoCollection that contains messages from the specified folder.

ListMessages(System::String folder, System::SharedPtr < Tools::Search::MailQuery > query)
ParameterDescription
folderA folder to search messages in.
queryMailQuery that represents message search criteria.
extendedPropertiesExtended properties of retrieved messages

ListMessages (12 of 14)

List the messages in the specified folder.

Returns: ExchangeMessageInfoCollection that contains messages from the specified folder.

ListMessages(System::String folder, System::SharedPtr < Tools::Search::MailQuery > query, bool recursive)
ParameterDescription
folderA folder to search messages in.
queryMailQuery that represents message search criteria.
recursiveIndicates whether recursive listing or not.

ListMessages (13 of 14)

List the messages in the specified folder

Returns: ExchangeMessageInfoCollection that contains messages from the specified folder

ListMessages(System::String mailbox, System::String folder, bool recursive)
ParameterDescription
mailboxThe mailbox that is used to initialize the folder id class.
folderA folder to search messages in
recursiveIndicates whether recursive listing or not

ListMessages (14 of 14)

List the messages in the specified folder.

Returns: ExchangeMessageInfoCollection that contains messages from the specified folder.

ListMessages(System::String mailbox, System::String folder, System::SharedPtr < Tools::Search::MailQuery > query)
ParameterDescription
mailboxThe mailbox that is used to initialize the folder id class.
folderA folder to search messages in.
queryMailQuery that represents message search criteria.