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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply 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: 6913
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.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Problem with JavaMail API
 
Similar Threads
javamail not working
Compose Mails using JSP
javamail not working
getFileBodyPart undefined for the type
getFileBodyPart... undefined for the type...