Pop3.GetMessageCountAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9083)
GetMessageCountAsync(Object)
Begins asynchronous GetMessageCount operation. Retrieve the number of messages in the mailbox.
Declaration
public Task<int> GetMessageCountAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Int32> | Number of messages. |
Remarks
Uses POP3 STAT command.