Retrieving a single email message

Top  Previous  Next

Upon establishing a connection to a POP3 server you can retrieve a message in the account mailbox by invoking the Pop#getMessage method.

 

 

Example

 

// establish connection

pop.connect();

 

// retrieves first message in mailbox

EmailMessage message = pop.getMessage(1);

 

 

See also

 

EmailMessage class overview

 





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

© 2021 JSCAPE LLC