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!

Why POP3 message are read only?

843830Nov 6 2001 — edited Nov 7 2001
Hi,everybody,
After i read mail i,i want to set my message is SEEN..
like this code:
msg.setFlag(Flags.Flag.SEEN, true);
msg.saveChanges();
fdInbox.close(true);
store.close();
but it's can't work.
on this line:: msg.saveChanges();
get a exception:POP3 messages are read-only
Anyone can tell me why and how to solve?

best regards

Alex
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 5 2001
Added on Nov 6 2001
1 comment
463 views