• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

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
 
Your buns are mine! But you can have this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic