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!

Javamail problem with SEEN flags (Autmatically updates the server)

843830Mar 15 2007 — edited Mar 20 2007
Hi all,

I am using Javamail 1.4.

When I read a message I used to get "java.io.IOException: No content" exceptions. Then I have created new MimeMessage from folder.getMessage() return as below

1) MimeMessage m = (MimeMessage)foldergetMessage(i);
2) MimeMessage mimeMsg = new MimeMessage(m);

After doing this I am seeing all my unread mails are shown as read in my server (thru' server's web access).

This is happening with step 2) only. If I comment out step 2, i will be getting others errors like, No content/BODY STRUCTRUE etc..

Am I doing anything wrong here?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2007
Added on Mar 15 2007
10 comments
869 views