[Imap-protocol] [noob] select & unseen?

Petite Abeille petite_abeille at mac.com
Sun Nov 6 14:06:23 PST 2011



On Nov 6, 2011, at 11:02 PM, Philip Guenther wrote:


> Live by the ABNF:

>

> response-data = "*" SP (resp-cond-state / resp-cond-bye /

> mailbox-data / message-data / capability-data) CRLF

> resp-cond-state = ("OK" / "NO" / "BAD") SP resp-text

> resp-text = ["[" resp-text-code "]" SP] text

> text = 1*TEXT-CHAR


Yes, I have been starring at this section and scratching my head... :)


> Ergo, the close bracket must be followed by a space and at least one other

> character before the CRLF. If it fails to do that, then it's not actually

> a response code!


Fair enough. Out of curiosity, what's the intended purpose of that trailing text? Does any actual IMAP clients care?




More information about the Imap-protocol mailing list