Connecting to a IMAP server |
To establish a connection to an IMAP server, create an Imap instance providing the hostname, username and password as arguments to the constructor, then invoke the Connect method.
Example
[C#] Imap myImap = new Imap("imap.myserver.com", "username", "password"); myImap.Connect();
[Visual Basic] Dim myImap As Imap = Nothing myImap = New Pop("imap.myserver.com", "username", "password") myImap.Connect()
|