LumiSoft Mail Server User API
BeginConnect Method (localEndpoint, host, port, ssl, callback)
Namespaces > LumiSoft.Net.SMTP.Client > SmtpClientEx > BeginConnect(IPEndPoint, String, Int32, Boolean, CommadCompleted)
Starts connection to specified host.
Syntax
C#Visual BasicManaged C++
public void BeginConnect (
	IPEndPoint localEndpoint,
	string host,
	int port,
	bool ssl,
	CommadCompleted callback
)
Public Sub BeginConnect ( _
	localEndpoint As IPEndPoint, _
	host As String, _
	port As Integer, _
	ssl As Boolean, _
	callback As CommadCompleted _
)
public:
void BeginConnect (
	IPEndPoint^ localEndpoint, 
	String^ host, 
	int port, 
	bool ssl, 
	CommadCompleted^ callback
)
Parameters
localEndpoint (IPEndPoint)
Sets local endpoint. Pass null, to use default.
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)