On Fri, Sep 16, 2016 at 10:37:24AM -0700, Jonathan Tan wrote:
Mailinfo currently handles multi-line headers, but it does not handle
multi-line in-body headers. Teach it to handle such headers, for
example, for this input:
Subject: a very long
broken line
Subject: another very long
broken line
interpret the in-body subject to be "another very long broken line"
instead of "another very long".
This puzzled me; we should stop parsing in-body headers after the first
blank line. But then I realized you probably meant the first "Subject"
to be the real mail header.
I wonder if it would be more obvious with an example like:
From: ...
Date: ...
Subject: the actual mail subject
Subject: a very long
broken line
Or something.
-Peff