Hi, As far as I know, JavaMail doesn't have classes for storing email messages locally. Once I tried to write email client in Java and also encountered this problem. I myself solved it by writing my own message store based on java.io.RandomAccessFile as message file and java.util.Properites, writen to a file, as an index file. The whole thing also handled multiple mail accounts, mail folders and more. This store accepted Message objects from JavaMail. You can try to do the same. Later I discovered, that there are components written by some company (don't know if they're free) which do exactly the same while keeping to JavaMail folders API. Unfortunately I don't remember where I found it, but search some third parties links on JavaMail web page. [ February 14, 2002: Message edited by: Maciej Kolodziej ]
Post by:autobot
It will give me the powers of the gods. Not bad for a tiny ad:
a bit of art, as a gift, the permaculture playing cards