MBOX-Line: From tss at iki.fi  Fri Jul  9 18:18:15 2010
To: imap-protocol@u.washington.edu
From: Timo Sirainen <tss@iki.fi>
Date: Fri Jun  8 12:34:45 2018
Subject: [Imap-protocol] folding/encoding of subject in ENVELOPE
In-Reply-To: <4C37C781.5060700@sun.com>
References: <4C37C781.5060700@sun.com>
Message-ID: <FCB729DF-4574-4EA5-BA6C-B21F5B67B9D1@iki.fi>

On 10.7.2010, at 2.06, Bill Shannon wrote:

>      ENVELOPE
..
> The subject field may include MIME encoded words (because the IMAP protocol
> is ASCII)

Yes.

> and may contain CRLF as a result of line folding in the original
> MIME header (because the subject field may be a literal that may contain
> CRLF), correct?

Yes, but my server (and many others) are converting all whitespace to a single space (tabs, folds, multiple spaces, etc). I can't exactly remember why, though. Maybe I implemented it only because others did that too..


