Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Imap.GetMessageListAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9147)

GetMessageListAsync(ImapMessageSet, ImapListFields, ImapPageView, Object)

Begins asynchronous GetMessageList operation. Gets the list of messages in the current folder that belong to a specified message set.

Declaration
public Task<ImapMessageCollection> GetMessageListAsync(ImapMessageSet messageSet, ImapListFields fields, ImapPageView pageView, object state = null)
Parameters
Type Name Description
ImapMessageSet messageSet

A set of messages.

ImapListFields fields

Specifies the scope of information to determine about each message.

ImapPageView pageView

Paging definition. Only supported by servers that support the PARTIAL extension.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<ImapMessageCollection>

A collection of ImapMessageInfo objects.

Remarks

This method represents IMAP FETCH command.

GetMessageListAsync(ImapMessageSet, ImapListFields, Object)

Begins asynchronous GetMessageList operation. Gets the list of messages in the current folder that belong to a specified message set.

Declaration
public Task<ImapMessageCollection> GetMessageListAsync(ImapMessageSet messageSet, ImapListFields fields, object state = null)
Parameters
Type Name Description
ImapMessageSet messageSet

A set of messages.

ImapListFields fields

Specifies the scope of information to determine about each message.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<ImapMessageCollection>

A collection of ImapMessageInfo objects.

Remarks

This method represents IMAP FETCH command.

GetMessageListAsync(ImapListFields, Object)

Begins asynchronous GetMessageList operation. Gets the list of messages in the current folder.

Declaration
public Task<ImapMessageCollection> GetMessageListAsync(ImapListFields fields, object state = null)
Parameters
Type Name Description
ImapListFields fields

Specifies the scope of information to determine about each message.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<ImapMessageCollection>

A collection of ImapMessageInfo objects.

Remarks

This method represents IMAP FETCH command.

In This Article
  • GetMessageListAsync(ImapMessageSet, ImapListFields, ImapPageView, Object)
  • GetMessageListAsync(ImapMessageSet, ImapListFields, Object)
  • GetMessageListAsync(ImapListFields, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies