aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Problem with JavaMail API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Problem with JavaMail API" Watch "Problem with JavaMail API" New topic
Author

Problem with JavaMail API

Deepak Kamboj
Greenhorn

Joined: Jun 19, 2000
Posts: 7
Hi Everybody!
I have developed mail client using JavaMail API. It shows only one folder that is Inbox while retreiving messages from POP3 Server.
I want to show all other folders like OUTBOX, Deleted Item, Sent Items and Trash also.
Please suggest me a solution for my problem.
Thanks in advance.
Regards,
Deepak Kamboj

Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
That's how POP3 behaves. If you need to see other folders on the server, you need to use the IMAP protocol. IMAP is included free with JavaMail, and is quite common on servers. If other mail software can see multiple folders, I would guess that IMAP is already running on that server, so just change your JavaMail config to use IMAP and have a go.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with JavaMail API