Results 1 to 2 of 2
  1. #1
    new_2_java is offline Member
    Join Date
    Feb 2008
    Rep Power

    Default 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");;

  2. #2
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Tucson, AZ
    Rep Power


    I believe that what you read is correct... the POP3 protocol has no concept of folders.

Similar Threads

  1. Replies: 6
    Last Post: 06-04-2010, 09:43 PM
  2. Replies: 2
    Last Post: 06-04-2009, 02:42 PM
  3. Accessing Sent Mail folder
    By extempore in forum Networking
    Replies: 1
    Last Post: 01-22-2009, 04:33 PM
  4. Replies: 2
    Last Post: 05-05-2008, 07:01 AM
  5. creation of new folder in the mail
    By an8086 in forum Advanced Java
    Replies: 1
    Last Post: 07-15-2007, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts