SmtpGetServerResponse Method
Returns the last response from the server.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
public string GetServerResponse()

Return Value

Type: String
A string value which contains the last response from the server, or a null reference (Nothing in Visual Basic) if not connected to the server.
MailBeeInvalidStateExceptionThere are multiple or non-SMTP connections being opened at the moment (IsSmtpContext is false).
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also