Using APOP authentication

Top  Previous  Next

The Pop class supports digest authentication using the APOP command as described in RFC 1939. Although not generally required by most POP3 servers, if your server requires APOP authentication you may change the authentication method prior to establishing a connection to the POP3 server by invoking the Pop#setAuthMode method.

 

Example

 

// create new Pop instance

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

 

// set authentication mode to use APOP

pop.setAuthMode(Pop.AUTH_APOP);

 

// establish connection

pop.connect();





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

© 2021 JSCAPE LLC