LumiSoft Mail Server User API
BeginConnect Method (host, port, ssl, callback)
Namespaces > LumiSoft.Net.SMTP.Client > SmtpClientEx > BeginConnect(String, Int32, Boolean, CommadCompleted)
Starts connection to specified host.
Syntax
C#Visual BasicManaged C++
public void BeginConnect (
	string host,
	int port,
	bool ssl,
	CommadCompleted callback
)
Public Sub BeginConnect ( _
	host As String, _
	port As Integer, _
	ssl As Boolean, _
	callback As CommadCompleted _
)
public:
void BeginConnect (
	String^ host, 
	int port, 
	bool ssl, 
	CommadCompleted^ callback
)
Parameters
host (String)
Host name or IP address.
port (Int32)
Port where to connect.
ssl (Boolean)
Specifies if to connected via SSL.
callback (CommadCompleted)
Callback to be called if connect ends.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)