james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeong HyunDae (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (IMAP-368) IMAP SEARCH command parentheses an error?
Date Fri, 27 Jul 2012 08:21:35 GMT
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 <wyhrtyou1523i8a722rh0av2.1343200586387@email.android.com>)

The problem seems to occur because of the parentheses.
However, the following command is normal.

551 UID SEARCH (HEADER MESSAGE-ID <wyhrtyou1523i8a722rh0av2.1343200586387@email.android.com>

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 != '(') {
            } 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message