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()

Return Value

Connection state.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also