ietf-822
[Top] [All Lists]

Re: MIME part header (was: SMTP headers)

2006-09-14 14:41:55

On Thu September 14 2006 17:03, Philippe de Rochambeau wrote:

--------14506F0F080F4D6511158082800B418B1
Content-Disposition: attachment; filename="test.txt"
Content-Transfer-Encoding: 7bit
Content-Type: Text/Plain


--------14506F0F080F4D6511158082800B418B1
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-Type: Text/Plain



*****
THIS IS AN AUTOMATIC EMAIL.
****




--------14506F0F080F4D6511158082800B418B1--



Do the contents of email attachment always appear in the headers?

No, never (by definition).  The header is a sequence of lines which precedes
body (or MIME-part) content, separated from that content by an empty line.

Why   
are the contents of "test.txt" not showing up above the second boundary?

Some possibilities:
1. A bug in the generating program
2. An empty file

[...]
Why does the last boundary have two dashes at the end?

It is a closing delimiter.  See RFC 2046 section 5.1.1.

Is this some   
kind of bug?

No.

<Prev in Thread] Current Thread [Next in Thread>