• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

java mail

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
David
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Regards
Torsten
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic