MBOX-Line: From brong at fastmail.fm  Sun Nov  6 14:40:35 2011
To: imap-protocol@u.washington.edu
From: Bron Gondwana <brong@fastmail.fm>
Date: Fri Jun  8 12:34:47 2018
Subject: [Imap-protocol] [noob] select & unseen?
In-Reply-To: <5142DE21-C556-4115-B58C-7B3C51DCCFE8@mac.com>
Message-ID: <1320619235.13489.140660995471761@webmail.messagingengine.com>



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@fastmail.fm

