Returns the response of the SMTP server to the command.

Namespace:  Rebex.Net
Assembly:  Rebex.Smtp (in Rebex.Smtp.dll)

Syntax

Visual Basic
Public Function ReadResponse As SmtpResponse
C#
public SmtpResponse ReadResponse()

Return Value

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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also