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

Pop3.GetMailMessageAsync Method

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

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.

In This Article
  • GetMailMessageAsync(Int32, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies