Establishing a connection

Top  Previous  Next

To establish a connection to an IMAP server, create an Imap instance providing the IMAP server hostname, username and password as arguments to the constructor.

 

Example

 

import com.jscape.inet.imap.*;

 

Imap imap = new Imap("imap.myserver.com","jsmith","secret");

imap.connect();

 

 

 





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC