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

Smtp.ReadResponseAsync Method

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

ReadResponseAsync(Object)

Begins asynchronous ReadResponse operation. Returns the response of the SMTP server to the command.

Declaration
public Task<SmtpResponse> 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<SmtpResponse>

Response of the SMTP server.

Remarks

Use ReadResponse and SendCommand to implement various custom commands.

After a successful call to ReadResponse, the Smtp object will be in Processing state if the response Group is 3, in Reading state if the response Group is 1 or in Ready state in other cases.

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