Smtp.ReadResponse Method
Namespace: Rebex.Net
Assembly: Rebex.Smtp.dll (version 7.0.9119)
ReadResponse()
Returns the response of the SMTP server to the command.
Declaration
public SmtpResponse ReadResponse()
Returns
Type | Description |
---|---|
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.