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

Bron Gondwana brong at fastmail.fm
Sun Nov 6 14:40:35 PST 2011

On Sun, Nov 6, 2011, at 11:21 PM, Petite Abeille wrote:


> On Nov 6, 2011, at 11:12 PM, Lyndon Nerenberg (VE6BBM/VE7TFX) wrote:


> >> Does any actual IMAP clients care?

> >

> > It's not optional, so as a server implementor you are

> > required to send something. What a client does with it

> > is the client's business.

> >

> > Not sending it is a protocol violation, and a well behaved

> > client is perfectly free to drop the connection at that point

> > due to the protocol violation.


> Fair enough. So, for example, to keep with the letter of the spec if not its spirit, a square bracket followed by 2 trailing spaces would do, right?


> OK [UNSEEN 123]

Depends if you actually want your server to be used or not.

Just say "OK" again and the world will be happy.

Trailing meaningful whitespace is evil[tm].

Bron Gondwana
brong at fastmail.fm

More information about the Imap-protocol mailing list