Connecting to IMAP Server
Contents[ Hide ]
Connecting with IMAP Server described how to connect to an IMAP server in four simple steps:
- Create an instance of the ImapClient class.
- Specify the hostname, username and password.
- Specify the port.
- Specify the Security Options.
The process for connecting to an SSL enables IMAP server is similar but requires that you set another few properties:
- Set Security Options to SSLImplicit.
The following code snippet shows how to
- Set a username, password and port.
- Set security option.