Jeong HyunDae created IMAP-368:
----------------------------------
Summary: IMAP SEARCH command parentheses an error?
Key: IMAP-368
URL: https://issues.apache.org/jira/browse/IMAP-368
Project: JAMES Imap
Issue Type: Bug
Components: Protocol
Affects Versions: 0.2.1
Reporter: Jeong HyunDae
First of all, please understand my English ability is not good.
I use a mail client is the Samsung GalaxyTab 10.1.
GalaxyTab Clients can not retrieve mail.
Android devices are all the same symptoms.
An error occurs in the following command.
551 UID SEARCH (HEADER MESSAGE-ID
<[email protected]>)
The problem seems to occur because of the parentheses.
However, the following command is normal.
551 UID SEARCH (HEADER MESSAGE-ID
<[email protected]> )
DecodingException of validator occurs because the parentheses.
-------------------------------
private String consumeWord(CharacterValidator validator, boolean
stripParen) throws DecodingException {
StringBuffer atom = new StringBuffer();
char next = nextWordChar();
while (!isWhitespace(next) && (stripParen == false || next != ')')) {
if (validator.isValid(next)) {
if (stripParen == false || next != '(') {
atom.append(next);
}
consume();
} else {
throw new
DecodingException(HumanReadableText.ILLEGAL_ARGUMENTS, "Invalid character: '" +
next + "'");
}
next = nextChar();
}
return atom.toString();
}
-------------------------------
james server's IMAP SEARCH command is not there an error?
I am wondering if a resolution to this problem is.
Also in Android will not recognize this command.
320 APPEND "Sent" (\SEEN) {912}
"+" Responses was changed to a "+ OK"
Android will the normal operation.
However, these methods do not know what the correct solution.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]