Hi Chris, all,

The first problem is now solved. (Thread 'bug in MIME header parsing')

However I still can't read the message. The following code throws an exception on the same message I sent you already.



                Message message[] = folder.getMessages();
                FetchProfile fetchProfile = new FetchProfile();
                
                fetchProfile.add(UIDFolder.FetchProfileItem.ENVELOPE);
                fetchProfile.add(UIDFolder.FetchProfileItem.CONTENT_INFO);
                fetchProfile.add(UIDFolder.FetchProfileItem.FLAGS);
                
                try {
                        folder.fetch(message, fetchProfile);
                } catch (MessagingException e) {
                }

                message.getContent() // Exception !


On the bright side, this exception was already present before I switch to CVS_HEAD. So it should not be a side-effect of the previous fix. I thought it was linked to the first problem, but it seems to be a different issue.

Any idea/fix would be appreciated.

Regards,

Cedric HYPPOLITE





_______________________________________________
Classpathx-discuss mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpathx-discuss

Reply via email to