Getting a message count

Top  Previous  Next

Upon establishing a connection to a POP3 server you can retrieve a count of messages in the account mailbox by invoking the Pop#getMessageCount method.

 

Example

 

// establish connection

pop.connect();

 

// get number of messages

int count = pop.getMessageCount();





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

© 2021 JSCAPE LLC