Establishing a connection

Top  Previous  Next

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

 

Example

 

// create new Pop instance

Pop pop = new Pop("pop.myserver.com","jsmith","secret");

 

// establish connection

pop.connect();





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

© 2021 JSCAPE LLC