File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes java mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "java mail" Watch "java mail" New topic

java mail

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
Hi all,
I hope someone out there can give me some adbvice.
I have to develop an application that will allow outlook(or some other mail client) to connect to a spam filter(java app) and the spam filter will conntect to a mail server. So in other words the spam filter will act as a server to the mail client and as a client to the mail server.
What will happen is that the client will request its mail, the spam filter will request it from the mail server. Once the spam filter has it, it will only forward mail to the client that is not spam.
I have been looking at java mail to do this. Is this correct? Can anyone offer any advice as to how I should tackle this.
Thank you very much
Torsten Schippel
Ranch Hand

Joined: May 09, 2003
Posts: 62
Hi David,
JavaMail doesn't implement the server functionality you need. So you should implement the POP3 protocol yourself.
Just search for Java POP3 Proxy.
Rangarajan Suresh
Ranch Hand

Joined: Jan 08, 2002
Posts: 50
Have a look at James
They have a Java API to let you write Java code to process emails that are called mailet API.
A mailet can generate an automatic reply, update a database, prevent spam, build a message archive, or whatever you can imagine
I agree. Here's the link:
subject: java mail
It's not a secret anymore!