user473217
user473217

Reputation: 11

Choosing a JavaMail "local store provider"

I'm looking at using javamail to download email/gmail using imap in a swing application.

According to the FAQ on javamail http://www.oracle.com/technetwork/java/faq-135477.html#localprovs I'm going to need a "local store provider", does anyone have any recommendations or advice on ones to avoid / choose?

I had presumed that I would just store the messages in a database - is that a bad idea?

I'm really looking for the simpest solution I can find - but actually works!

Upvotes: 1

Views: 1478

Answers (3)

Michael
Michael

Reputation: 2500

Both JavaMailDir and Plexus mentioned in the other answers should work. However, I will add that after working with both (for reading messages from an actual inbox, not just as a local store) JavaMailDir seems to have some issues running on Windows. Particularly with the fact that the ".INBOX" folder begins with a dot.

Upvotes: 2

Persimmonium
Persimmonium

Reputation: 15791

Two providers I know:

  1. Mstor: mbox provider
  2. plexus: maildir provider, not much doc available

Upvotes: 0

JoseK
JoseK

Reputation: 31371

JavaMaildir seems to be simple enough as you want from the examples

The full list of providers is on the Sun website.

Upvotes: 1

Related Questions