Does message rfc822 allow a new line between two headers?

359 Views Asked by At

Does message rfc822 allow a new line in between two headers?

After Content-Disposition I got a newline. Attaching Image

enter image description here

1

There are 1 best solutions below

3
jstedfast On

The Received header (and all of the headers that follow it) are not part of the MIME part headers - they are the content of the MIME part.

This attachment has a MIME-type of message/rfc822 which is an email message. When you parse the content of the MIME part (which starts with the Received header), what you end up with is another message object.