On Sat, Jan 25, 2025, Carsten Schiefner via mailop wrote:

> my understanding of section 2.3. "Body" of RFC 5322 "Internet Message
> Format" (https://datatracker.ietf.org/doc/html/rfc5322#section-2.3) is that
> a sole 0x0a as the body is sufficient and fully RFC compliant: is this
> correct?

No.

   o  CR and LF MUST only occur together as CRLF; they MUST NOT appear
      independently in the body.

I guess you refer to some local storage format
(which is not part of the RFC AFAICT)?

> Only an email with an an empty body of two 0x0a's stays displayed in the

What exactly is the "body" for you?
Everything after the "header"?

The RFC specifies that header and body are separated by one
empty line - does your "sole 0x0a" refer to that line?

2.1
   A message consists of header fields (collectively called "the header
   section of the message") followed, optionally, by a body.

So the body can even be omitted.

[now the interesting question is: if the body is missing,
must there be an empty line after the headers?]

-- 
Please don't Cc: me, use only the list for replies, even if the
mailing list software screws up the Reply-To header.
_______________________________________________
mailop mailing list
[email protected]
https://list.mailop.org/listinfo/mailop

Reply via email to