Pop3.GetMailMessageAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9083)
GetMailMessageAsync(Int32, Object)
Begins asynchronous GetMailMessage operation. Downloads a message with a specified number from the server and loads it into an instance of MailMessage.
Declaration
public Task<MailMessage> GetMailMessageAsync(int sequenceNumber, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Int32 | sequenceNumber | The sequence number of the message to download. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<MailMessage> | A downloaded message. |
Remarks
Represents POP3 RETR command.