At 00:07 -0500 on 01/18/2011, zMan wrote about Re: EMail attachments stopped working:

No, DATA is the end of the envelope. SMTP doesn't know from MIME: it
just knows envelope and body. MIME is content only, interpreted by the
MUA, not the MTA. MIME is a red herring here.

What I was saying is that as soon as the SMTP Server sees a DATA command, it treats the rest of what it is passed as the MESSAGE BODY. Thus there are a few headers that were listed after the DATA command which would not be interpreted by the Server as Headers. You are also incorrect about the MTA not interpreting the MIME content in the Message Body. It does look at it - for example converting a 8bit part to QP or BASE64 if it has to hand the message off to another server that does not support 8BITMIME.

Ignoring the possible misplacement of the DATA, the missing MIME separators is IMO a valid problem. The use of Content-Disposition: attachment; TRIGGERS the need for them. They are only optional with a Text/* Message Body. As soon as you say the message body contains an attachment (even in the absence of a message) you need them.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to