Establishing a connection |
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(); |