• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to store mails on local file system?

 
jschlier
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to write a very simple mail client which should fetch emails from a pop3 server. The mails should be stored on local file system (HSSQL?, BerkeleyDB?) and can viewed with a simple Viewer.

I didn't realy find good examples with goolge. Has anyone examples/howtos to store emails with a java db or must I start from the beginning? Every hint is welcome.

Thanks,
J�rgen
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Apache James mail server project has a lot of functions that may help you. I seem to recall there is a way you can get it to fetch mail and store it locally, but it is not a simple package.

The Sun page on the MAIL API should be helpful in developing your mail client.

Bill
 
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!