Pop3Client.ListMessagesAsync

ListMessagesAsync(IConnection)

Lists the messages. Gets an information for earch message

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection)
ParameterTypeDescription
connectionIConnectionConnection to a server

Return Value

Task object, with delegate for this operation

Remarks

Note that messages marked as deleted are not listed

See Also


ListMessagesAsync(IConnection, bool)

Lists the messages. Gets an information for earch message

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, 
    bool closeTransaction)
ParameterTypeDescription
connectionIConnectionConnection to a server
closeTransactionBooleanIndicates 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


ListMessagesAsync(IConnection, MailQuery)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, MailQuery query)
ParameterTypeDescription
connectionIConnectionConnection to a server
queryMailQueryThe MailQuery object.

Return Value

Collection of Pop3MessageInfo objects.

See Also


ListMessagesAsync(IConnection, Pop3ListFields)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, 
    Pop3ListFields fields)
ParameterTypeDescription
connectionIConnectionConnection to a server
fieldsPop3ListFieldsThe 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


ListMessagesAsync(IConnection, Pop3ListFields, bool, MailQuery)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, 
    Pop3ListFields fields, bool closeTransaction, MailQuery query)
ParameterTypeDescription
connectionIConnectionConnection to a server
fieldsPop3ListFieldsThe fields that we want get
closeTransactionBooleanIndicates if current transaction has to be closed, before the list is retrieved.
queryMailQueryThe MailQuery object.

Return Value

Task object, with delegate for this operation

See Also


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


ListMessagesAsync(bool)

Lists the messages. Gets an information for earch message

public Task<Pop3MessageInfoCollection> ListMessagesAsync(bool closeTransaction)
ParameterTypeDescription
closeTransactionBooleanIndicates 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


ListMessagesAsync(MailQuery)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(MailQuery query)
ParameterTypeDescription
queryMailQueryThe MailQuery object.

Return Value

Collection of Pop3MessageInfo objects.

See Also


ListMessagesAsync(Pop3ListFields)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(Pop3ListFields fields)
ParameterTypeDescription
fieldsPop3ListFieldsThe 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


ListMessagesAsync(Pop3ListFields, bool, MailQuery)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(Pop3ListFields fields, 
    bool closeTransaction, MailQuery query)
ParameterTypeDescription
fieldsPop3ListFieldsThe fields that we want get
closeTransactionBooleanIndicates if current transaction has to be closed, before the list is retrieved.
queryMailQueryThe MailQuery object.

Return Value

Task object, with delegate for this operation

See Also


ListMessagesAsync(IConnection, CancellationToken)

Lists the messages. Gets an information for earch message

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
tokenCancellationTokenPropagates 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


ListMessagesAsync(IConnection, bool, CancellationToken)

Lists the messages. Gets an information for earch message

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, 
    bool closeTransaction, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
closeTransactionBooleanIndicates if current transaction has to be closed, before the list is retrieved.
tokenCancellationTokenPropagates 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


ListMessagesAsync(IConnection, MailQuery, CancellationToken)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, MailQuery query, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
queryMailQueryThe MailQuery object.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Collection of Pop3MessageInfo objects.

See Also


ListMessagesAsync(IConnection, Pop3ListFields, CancellationToken)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, 
    Pop3ListFields fields, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
fieldsPop3ListFieldsThe fields that we want get
tokenCancellationTokenPropagates 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


ListMessagesAsync(IConnection, Pop3ListFields, bool, MailQuery, CancellationToken)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(IConnection connection, 
    Pop3ListFields fields, bool closeTransaction, MailQuery query, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
fieldsPop3ListFieldsThe fields that we want get
closeTransactionBooleanIndicates if current transaction has to be closed, before the list is retrieved.
queryMailQueryThe MailQuery object.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ListMessagesAsync(CancellationToken)

Lists the messages. Gets an information for earch message

public Task<Pop3MessageInfoCollection> ListMessagesAsync(CancellationToken token)
ParameterTypeDescription
tokenCancellationTokenPropagates 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


ListMessagesAsync(bool, CancellationToken)

Lists the messages. Gets an information for earch message

public Task<Pop3MessageInfoCollection> ListMessagesAsync(bool closeTransaction, 
    CancellationToken token)
ParameterTypeDescription
closeTransactionBooleanIndicates if current transaction has to be closed, before the list is retrieved.
tokenCancellationTokenPropagates 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


ListMessagesAsync(MailQuery, CancellationToken)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(MailQuery query, CancellationToken token)
ParameterTypeDescription
queryMailQueryThe MailQuery object.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Collection of Pop3MessageInfo objects.

See Also


ListMessagesAsync(Pop3ListFields, CancellationToken)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(Pop3ListFields fields, 
    CancellationToken token)
ParameterTypeDescription
fieldsPop3ListFieldsThe fields that we want get
tokenCancellationTokenPropagates 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


ListMessagesAsync(Pop3ListFields, bool, MailQuery, CancellationToken)

Lists the messages.

public Task<Pop3MessageInfoCollection> ListMessagesAsync(Pop3ListFields fields, 
    bool closeTransaction, MailQuery query, CancellationToken token)
ParameterTypeDescription
fieldsPop3ListFieldsThe fields that we want get
closeTransactionBooleanIndicates if current transaction has to be closed, before the list is retrieved.
queryMailQueryThe MailQuery object.
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also