Forums Register Login

Problem with JavaMail API

+Pie Number of slices to send: Send
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

+Pie Number of slices to send: Send
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.
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1663 times.
Similar Threads
javamail not working
getFileBodyPart undefined for the type
getFileBodyPart... undefined for the type...
Compose Mails using JSP
javamail not working
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:11:00.