Connects to server.

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

Syntax

C#
public void Connect(
	string host,
	int port,
	bool useSSL
)
Visual Basic
Public Sub Connect ( _
	host As String, _
	port As Integer, _
	useSSL As Boolean _
)
Visual C++
public:
void Connect(
	String^ host, 
	int port, 
	bool useSSL
)

Parameters

host
Type: System..::..String
Host name or IP address.
port
Type: System..::..Int32
Port number.
useSSL
Type: System..::..Boolean
if true creates SSL connection

See Also