LumiSoft Mail Server User API
Connect Method (host, port, ssl)
Namespaces > LumiSoft.Net.IMAP.Client > IMAP_Client > Connect(String, Int32, Boolean)
Connects to IMAP server.
Syntax
C#Visual BasicManaged C++
public void Connect (
	string host,
	int port,
	bool ssl
)
Public Sub Connect ( _
	host As String, _
	port As Integer, _
	ssl As Boolean _
)
public:
void Connect (
	String^ host, 
	int port, 
	bool ssl
)
Parameters
host (String)
Host name.
port (Int32)
Port number. Default IMAP port is 143 and SSL port is 993.
ssl (Boolean)
Specifies if to connected via SSL.

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