How to set flag to Flags.Flag.DELETED if POP3 doesn't support flags?
843830May 23 2002 — edited Oct 15 2002Hi,
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