POP3 Java source (not JavaMail API)

Posted on 2004-04-23
Medium Priority
Last Modified: 2013-11-24
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.
Question by:s99136253
  • 2
LVL 14

Accepted Solution

Tommy Braas earned 252 total points
ID: 10902240

Assisted Solution

seanrowen earned 248 total points
ID: 10903303
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.
LVL 14

Expert Comment

by:Tommy Braas
ID: 11163167
Fine by me

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

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.

Join & Write a Comment

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question