Results 1 to 2 of 2
- 05-18-2011, 01:03 AM #1
Member
- Join Date
- Feb 2008
- Posts
- 60
- Rep Power
- 0
java mail, using POP3, move a message to another folder?
Hi all,
Is it possible if I am using java mail API and POP3 protocol to move a message from INBOX folder to another folder, i.e. "processed" (I will create this folder)?
I read somewhere that POP3 only supports INBOX folder and there's no other folder that you could manipulate. Is that true statement? if someone have some sample codes, can you please share?
I wonder if this will work?
Java Code:Folder folder = store.getDefaultFolder(); folder = folder.getFolder("PROCESSED"); folder.open(Folder.READ_WRITE);
- 05-18-2011, 03:08 AM #2
Similar Threads
-
java message box, how to not show multiple message box with same title or content
By oohay in forum AWT / SwingReplies: 6Last Post: 06-04-2010, 09:43 PM -
Attachments were missing when mail was sent through java mail API
By Malathi in forum Web FrameworksReplies: 2Last Post: 06-04-2009, 02:42 PM -
Accessing Sent Mail folder
By extempore in forum NetworkingReplies: 1Last Post: 01-22-2009, 04:33 PM -
Javax.mail.MethodNotSupported Exception in java mail api
By namarc in forum Advanced JavaReplies: 2Last Post: 05-05-2008, 07:01 AM -
creation of new folder in the mail
By an8086 in forum Advanced JavaReplies: 1Last Post: 07-15-2007, 06:10 PM
Bookmarks