MailBee.NET Objects 4.0

Smtp.GetServerResponseCode Method 

Returns an integer value containing the status code of the last SMTP operation.

public int GetServerResponseCode();

Return Value

3-digit integer value (such as 220) containing the SMTP status code taken from the last received response from the server.

Remarks

The developer can use this value for advanced use of Smtp component (such as sophisticated error handling).

See Also

Smtp Class | MailBee.SmtpMail Namespace | GetServerResponse