Connects to server. Use ConnectSSL(String, Int32) when SSL connection is needed.
Namespace: Lesnikowski.ClientAssembly: Mail (in Mail.dll) Version: 3.0.1213.909
Syntax
| C# |
|---|
public void Connect( string host, int port ) |
| Visual Basic |
|---|
Public Sub Connect ( _ host As String, _ port As Integer _ ) |
| Visual C++ |
|---|
public: void Connect( String^ host, int port ) |
Parameters
- host
- Type: System..::..String
Host name or IP address.
- port
- Type: System..::..Int32
Port number.