Have you downloaded and referenced all the necessary libraries ?
EDIT.
I have just downloaded the demo file, and, for it to work, you need to download and copy the POP3 lib files (.xml and .jar) to your libs folder and check it on the libs Tab on the IDE