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

Pop3.ReadResponseAsync Method

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

ReadResponseAsync(Object)

Begins asynchronous ReadResponse operation. Returns a single line of response of the POP3 server to the command.

Declaration
public Task<string> ReadResponseAsync(object state = null)
Parameters
Type Name Description
Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<String>

Response of the POP3 server.

Remarks

Use ReadResponse and SendCommand to implement various custom commands.

If the response is multiline, ReadResponse must be called multiple times until it returns null, which indicates an and of response.

If the response is single line, ReadResponse must be called only once.

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