Results 1 to 2 of 2
Thread: Accessing Sent Mail folder
- 01-22-2009, 02:58 PM #1
Member
- Join Date
- Jan 2009
- Posts
- 2
- Rep Power
- 0
Accessing Sent Mail folder
Hi,
I have created a class which can access the Inbox folder of my email account.But when I try to access other folders such as Sent Mail,Trash etc. its giving me exception
javax.mail.FolderNotFoundException
this is how I am accessing my Inbox
Folder inbox = store.getFolder("INBOX");
inbox.open(Folder.READ_WRITE);
Folder sentbox = store.getFolder("SENT MAIL"); sentbox.open(Folder.READ_ONLY);
Kindly provide the solution
Thanks
- 01-22-2009, 03:33 PM #2
Similar Threads
-
Javax.mail.MethodNotSupported Exception in java mail api
By namarc in forum Advanced JavaReplies: 2Last Post: 05-05-2008, 06:01 AM -
Retreiving of mail body using mail number
By chandu.v09 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 03-13-2008, 02:25 PM -
add password to folder
By ismailsaleh in forum AWT / SwingReplies: 1Last Post: 01-08-2008, 05:46 AM -
Sending a mail with the local mail program
By thedude in forum Advanced JavaReplies: 2Last Post: 07-23-2007, 12:19 PM -
creation of new folder in the mail
By an8086 in forum Advanced JavaReplies: 1Last Post: 07-15-2007, 05:10 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks