Pop3.GetMimeMessageAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9119)
GetMimeMessageAsync(Int32, Object)
Begins asynchronous GetMimeMessage operation. Downloads a message with a specified number from the server and loads it into an instance of MimeMessage.
Declaration
public Task<MimeMessage> GetMimeMessageAsync(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<MimeMessage> | A downloaded message. |
Remarks
Represents POP3 RETR command.