Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set flag to Flags.Flag.DELETED if POP3 doesn't support flags?

843830May 23 2002 — edited Oct 15 2002
Hi,

I'm having problems setting message states. Could someone help me please?

According to http://www.inf.fu-berlin.de/lehre/SS01/swp/A-D/JavaMail/docs/sundocs/com/sun/mail/pop3/POP3Folder.html, POP3 protocol doesn't support any permanent flags. If this is true, that would mean that I can't do a message.setFlag(Flags.Flag.DELETED,true) to messages that I have retrieved.

Nor would I be able to check if a message is SEEN, ANSWERED, DRAFT, FLAGGED, RECENT or any USER states either. How do I go about this? I need to retrieve the messages and then set them to DELETED.

Cheers,
Callista
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2002
Added on May 23 2002
3 comments
683 views