Checks whether the SMTP session is still connected and returns its state.
Namespace:
Rebex.Net
Assembly:
Rebex.Smtp (in Rebex.Smtp.dll)
Syntax
| Visual Basic |
|---|
Public Function GetConnectionState As SmtpConnectionState |
| C# |
|---|
public SmtpConnectionState GetConnectionState() |