Connects to server.

Namespace:  Lesnikowski.Client
Assembly:  Mail (in Mail.dll) Version: 3.0.10245.1711

Syntax

C#
public void Connect(
	IPEndPoint ipEndPoint,
	bool useSSL
)
Visual Basic (Declaration)
Public Sub Connect ( _
	ipEndPoint As IPEndPoint, _
	useSSL As Boolean _
)
Visual C++
public:
void Connect(
	IPEndPoint^ ipEndPoint, 
	bool useSSL
)

Parameters

ipEndPoint
Type: System.Net..::.IPEndPoint
IP end point of the connection.
useSSL
Type: System..::.Boolean
if true creates SSL connection.

Exceptions

ExceptionCondition
Lesnikowski.Client..::.ServerException -ERR response, Connection error.

See Also