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!

potential bug in javamail + qmail when email body starts with dots

843830May 6 2006 — edited Sep 26 2006
I may have discovered a potential issue with using JavaMail + QMail server. It appears that if there is a message in my mailbox which starts with either one dot ('.') or a series of dots ('...hello there'), when I attempt to do a :

inbox.fetch(messages, profile);


I get the following JavaMail error:

javax.mail.MessagingException: error getting size;
nested exception is:
java.io.IOException: Unexpected response: .
at com.sun.mail.pop3.POP3Message.getSize(POP3Message.java:100)
at com.sun.mail.pop3.POP3Folder.fetch(POP3Folder.java:369)


This issue seems to only occur on qmail. When I try to read the same email starting with one or multiple leading dots, I can retreive it without any issues.

Has anyone else experienced anything of the sort?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2006
Added on May 6 2006
14 comments
830 views