Reputation: 9621
I am looking for a java library to access(show) client's emails in a web app.
For instance user comes to the site, enters credentials, smtp and all this stuff (like when doing Import in Thunderbird or Outlook) and our website can show him his emails in the browser...
Are you aware of such library? Is this possible?
IIRC, JavaMail is mostly for sending emails but what I need is to access and list client's emails.
Upvotes: 0
Views: 380
Reputation: 38857
Yes Javamail can do exactly what you are asking. Javamail isn't for just sending emails. You can access a user's mailbox. Sending emails is over the SMTP protocol. Javamail supports SMTP, POP3, and IMAP. You're interested in POP3 or IMAP.
http://www.oracle.com/technetwork/java/javamail/index.html
Upvotes: 1
Reputation: 9478
there many opensource client mail tools which can be coustomised as you need, please check below below
Update :
check this Chilkat
Here is a sample code how-to-create-an-e-mail-client-in-java
Upvotes: 1