POP3 Java source (not JavaMail API)

Hi I am looking for java source on how to retrieve pop3 mail according to words in the subject of the mail message. For instance if the word "urgent" apears in the subject, the program should only forward that message to another mail box and leave the rest still intact on the server.  The source must not use the JavaMail API since I only want to use ServerSocket and Socket.
Who is Participating?
Tommy BraasConnect With a Mentor Commented:
seanrowenConnect With a Mentor Commented:
Here's a good open-source library from Jakarta with POP3 support: http://jakarta.apache.org/commons/net/
I believe you can get it to selectively retrieve messages as you want. This does not require JavaMail.
Tommy BraasCommented:
Fine by me
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.