svrega
|
Posted: November 08, 2009 11:57 by svrega
|
|
hy, i tried the demo class folderlist.java from the current demo source code. on the response for my mailbox "Sent Items" a exception is throwed, because in com.sun.mail.imap.protocol.Status:
public Status(Response r) throws ParsingException {
mbox = r.readAtomString(); // mailbox := astring
r.skipSpaces();
if (r.readByte() != '(')
throw new ParsingException("parse error in STATUS");
with respone: * STATUS Sent Items (MESSAGES 1 RECENT 0 UIDNEXT 2 UIDVALIDITY 1209839005 UNSEEN 0) mbox = Sent and not (but should) Sent Item. is it a bug? |
Exception on STATUS Response with space in mailbox name
Replies: 2 - Last Post: November 13, 2009 11:46
by: xfan
by: xfan
showing 1 - 3 of 3
shannon
|
Posted: November 09, 2009 03:47 by shannon
|
|
Yes, it's a bug in the server. What server are you using? JavaMail 1.4.3 will have a workaround for this bug. You can find a Release Candidate build at http://download.java.net/maven/2/javax/mail/mail/1.4.3-rc1/ |
Replies: 2 - Last Post: November 13, 2009 11:46
by: xfan
by: xfan







