Catalyst Internet Mail .NET

InternetMail.IsConnected Property

Gets a value which indicates if a connection to the mail server has been established.

[Visual Basic]
Public ReadOnly Property IsConnected As Boolean
[C#]
public bool IsConnected {get;}

Property Value

Returns true if the connection has been established; otherwise returns false.

Remarks

The IsConnected property can only be used to indicate if there is still a logical connection to the mail server. It cannot be used to detect abnormal conditions such as the remote host aborting the connection, the physical network connection being lost or other critical errors.

See Also

InternetMail Class | SocketTools Namespace