Pop3.GetMessageListAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9119)
GetMessageListAsync(Pop3ListFields, Object)
Begins asynchronous GetMessageList operation. Retrieves a list of messages in the mailbox.
Declaration
public Task<Pop3MessageCollection> GetMessageListAsync(Pop3ListFields fields, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Pop3ListFields | 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<Pop3MessageCollection> | The list of messages. |
Remarks
Uses either POP3 LIST command, UIDL command, or a combination of both.