IEWSClient.ListMessages
ListMessages(string)
Lists the messages.
public ExchangeMessageInfoCollection ListMessages(string folder)
Parameter | Type | Description |
---|---|---|
folder | String | The folder. |
Return Value
A ExchangeMessageInfoCollection
See Also
- class ExchangeMessageInfoCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, ExchangeListMessagesOptions)
Lists the messages.
public ExchangeMessageInfoCollection ListMessages(string folder,
ExchangeListMessagesOptions options)
Parameter | Type | Description |
---|---|---|
folder | String | The folder. |
options | ExchangeListMessagesOptions | Specifies the settings of listing |
Return Value
A ExchangeMessageInfoCollection
See Also
- class ExchangeMessageInfoCollection
- enum ExchangeListMessagesOptions
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, int)
Lists the messages.
public ExchangeMessageInfoCollection ListMessages(string folder, int maxNumberOfMessages)
Parameter | Type | Description |
---|---|---|
folder | String | The folder. |
maxNumberOfMessages | Int32 | Maximum number of messages |
Return Value
A ExchangeMessageInfoCollection
See Also
- class ExchangeMessageInfoCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, int, ExchangeListMessagesOptions)
Lists the messages.
public ExchangeMessageInfoCollection ListMessages(string folder, int maxNumberOfMessages,
ExchangeListMessagesOptions options)
Parameter | Type | Description |
---|---|---|
folder | String | The folder. |
maxNumberOfMessages | Int32 | Maximum number of messages |
options | ExchangeListMessagesOptions | Specifies the settings of listing |
Return Value
A ExchangeMessageInfoCollection
See Also
- class ExchangeMessageInfoCollection
- enum ExchangeListMessagesOptions
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, string, bool)
List the messages in the specified folder
public ExchangeMessageInfoCollection ListMessages(string mailbox, string folder, bool recursive)
Parameter | Type | Description |
---|---|---|
mailbox | String | The mailbox that is used to initialize the folder id class. |
folder | String | A folder to search messages in |
recursive | Boolean | Indicates whether recursive listing or not |
Return Value
ExchangeMessageInfoCollection
that contains messages from the specified folder
See Also
- class ExchangeMessageInfoCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, string, MailQuery)
List the messages in the specified folder.
public ExchangeMessageInfoCollection ListMessages(string mailbox, string folder, MailQuery query)
Parameter | Type | Description |
---|---|---|
mailbox | String | The mailbox that is used to initialize the folder id class. |
folder | String | A folder to search messages in. |
query | MailQuery | MailQuery that represents message search criteria. |
Return Value
ExchangeMessageInfoCollection
that contains messages from the specified folder.
See Also
- class ExchangeMessageInfoCollection
- class MailQuery
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, bool)
List the messages in the specified folder
public ExchangeMessageInfoCollection ListMessages(string folder, bool recursive)
Parameter | Type | Description |
---|---|---|
folder | String | A folder to search messages in |
recursive | Boolean | Indicates whether recursive listing or not |
Return Value
ExchangeMessageInfoCollection
that contains messages from the specified folder
See Also
- class ExchangeMessageInfoCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, ExchangeListMessagesOptions, IEnumerable<PropertyDescriptor>)
List the messages in the specified folder
public ExchangeMessageInfoCollection ListMessages(string folder,
ExchangeListMessagesOptions options, IEnumerable<PropertyDescriptor> extendedProperties)
Parameter | Type | Description |
---|---|---|
folder | String | A folder to search messages in |
options | ExchangeListMessagesOptions | Specifies the settings of listing |
extendedProperties | IEnumerable`1 | Extended properties of retrieved messages |
Return Value
ExchangeMessageInfoCollection
that contains messages from the specified folder
See Also
- class ExchangeMessageInfoCollection
- enum ExchangeListMessagesOptions
- class PropertyDescriptor
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, MailQuery)
List the messages in the specified folder.
public ExchangeMessageInfoCollection ListMessages(string folder, MailQuery query)
Parameter | Type | Description |
---|---|---|
folder | String | A folder to search messages in. |
query | MailQuery | MailQuery that represents message search criteria. |
Return Value
ExchangeMessageInfoCollection
that contains messages from the specified folder.
See Also
- class ExchangeMessageInfoCollection
- class MailQuery
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, MailQuery, bool)
List the messages in the specified folder.
public ExchangeMessageInfoCollection ListMessages(string folder, MailQuery query, bool recursive)
Parameter | Type | Description |
---|---|---|
folder | String | A folder to search messages in. |
query | MailQuery | MailQuery that represents message search criteria. |
recursive | Boolean | Indicates whether recursive listing or not. |
Return Value
ExchangeMessageInfoCollection
that contains messages from the specified folder.
See Also
- class ExchangeMessageInfoCollection
- class MailQuery
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, int, MailQuery, bool)
List the messages in the specified folder.
public ExchangeMessageInfoCollection ListMessages(string folder, int maxNumberOfMessages,
MailQuery query, bool recursive)
Parameter | Type | Description |
---|---|---|
folder | String | A folder to search messages in. |
maxNumberOfMessages | Int32 | Maximum number of messages. |
query | MailQuery | MailQuery that represents message search criteria. |
recursive | Boolean | Indicates whether recursive listing or not. |
Return Value
ExchangeMessageInfoCollection
that contains messages from the specified folder.
See Also
- class ExchangeMessageInfoCollection
- class MailQuery
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(IEnumerable<string>)
List the messages in the specified folder.
public ExchangeMessageInfoCollection ListMessages(IEnumerable<string> iDs)
Parameter | Type | Description |
---|---|---|
iDs | IEnumerable`1 | Enumeration of message ids |
Return Value
ExchangeMessageInfoCollection
that contains messages with.
See Also
- class ExchangeMessageInfoCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages()
List the messages in the inbox folder.
public ExchangeMessageInfoCollection ListMessages()
Return Value
ExchangeMessageInfoCollection
from inbox folder.
See Also
- class ExchangeMessageInfoCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
ListMessages(string, int, MailQuery)
List the messages in the specified folder.
public ExchangeMessageInfoCollection ListMessages(string folder, int maxNumberOfMessages,
MailQuery query)
Parameter | Type | Description |
---|---|---|
folder | String | A folder to search messages in. |
maxNumberOfMessages | Int32 | Maximum number of messages. |
query | MailQuery | MailQuery that represents message search criteria. |
Return Value
ExchangeMessageInfoCollection
that contains messages from the specified folder.
See Also
- class ExchangeMessageInfoCollection
- class MailQuery
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email