Pop3Client.ListMessagesAsync
ListMessagesAsync(IConnection)
Lists the messages. Gets an information for earch message
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(IConnection, bool)
Lists the messages. Gets an information for earch message
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection,
bool closeTransaction)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(IConnection, MailQuery)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, MailQuery query)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
query | MailQuery | The MailQuery object. |
Return Value
Collection of Pop3MessageInfo objects.
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- class MailQuery
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(IConnection, Pop3ListFields)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection,
Pop3ListFields fields)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fields | Pop3ListFields | The fields that we want get |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- enum Pop3ListFields
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(IConnection, Pop3ListFields, bool, MailQuery)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection,
Pop3ListFields fields, bool closeTransaction, MailQuery query)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fields | Pop3ListFields | The fields that we want get |
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
query | MailQuery | The MailQuery object. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- enum Pop3ListFields
- class MailQuery
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync()
Lists the messages. Gets an information for earch message
public Task<Pop3MessageInfoCollection> ListMessagesAsync()
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(bool)
Lists the messages. Gets an information for earch message
public Task<Pop3MessageInfoCollection> ListMessagesAsync(bool closeTransaction)
Parameter | Type | Description |
---|---|---|
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(MailQuery)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(MailQuery query)
Parameter | Type | Description |
---|---|---|
query | MailQuery | The MailQuery object. |
Return Value
Collection of Pop3MessageInfo objects.
See Also
- class Pop3MessageInfoCollection
- class MailQuery
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(Pop3ListFields)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(Pop3ListFields fields)
Parameter | Type | Description |
---|---|---|
fields | Pop3ListFields | The fields that we want get |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- enum Pop3ListFields
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(Pop3ListFields, bool, MailQuery)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(Pop3ListFields fields,
bool closeTransaction, MailQuery query)
Parameter | Type | Description |
---|---|---|
fields | Pop3ListFields | The fields that we want get |
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
query | MailQuery | The MailQuery object. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3MessageInfoCollection
- enum Pop3ListFields
- class MailQuery
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(IConnection, CancellationToken)
Lists the messages. Gets an information for earch message
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(IConnection, bool, CancellationToken)
Lists the messages. Gets an information for earch message
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection,
bool closeTransaction, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(IConnection, MailQuery, CancellationToken)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, MailQuery query,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
query | MailQuery | The MailQuery object. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Collection of Pop3MessageInfo objects.
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- class MailQuery
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(IConnection, Pop3ListFields, CancellationToken)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection,
Pop3ListFields fields, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fields | Pop3ListFields | The fields that we want get |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- enum Pop3ListFields
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(IConnection, Pop3ListFields, bool, MailQuery, CancellationToken)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection,
Pop3ListFields fields, bool closeTransaction, MailQuery query, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fields | Pop3ListFields | The fields that we want get |
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
query | MailQuery | The MailQuery object. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3MessageInfoCollection
- interface IConnection
- enum Pop3ListFields
- class MailQuery
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(CancellationToken)
Lists the messages. Gets an information for earch message
public Task<Pop3MessageInfoCollection> ListMessagesAsync(CancellationToken token)
Parameter | Type | Description |
---|---|---|
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(bool, CancellationToken)
Lists the messages. Gets an information for earch message
public Task<Pop3MessageInfoCollection> ListMessagesAsync(bool closeTransaction,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(MailQuery, CancellationToken)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(MailQuery query, CancellationToken token)
Parameter | Type | Description |
---|---|---|
query | MailQuery | The MailQuery object. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Collection of Pop3MessageInfo objects.
See Also
- class Pop3MessageInfoCollection
- class MailQuery
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(Pop3ListFields, CancellationToken)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(Pop3ListFields fields,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
fields | Pop3ListFields | The fields that we want get |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
Remarks
Note that messages marked as deleted are not listed
See Also
- class Pop3MessageInfoCollection
- enum Pop3ListFields
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
ListMessagesAsync(Pop3ListFields, bool, MailQuery, CancellationToken)
Lists the messages.
public Task<Pop3MessageInfoCollection> ListMessagesAsync(Pop3ListFields fields,
bool closeTransaction, MailQuery query, CancellationToken token)
Parameter | Type | Description |
---|---|---|
fields | Pop3ListFields | The fields that we want get |
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
query | MailQuery | The MailQuery object. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3MessageInfoCollection
- enum Pop3ListFields
- class MailQuery
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email