Forum OpenACS Q&A: Re: Parsing an incoming multi-part e-mail message

Collapse
Posted by Janine Ohmer on
Well... the problem is that the message body does not start with a content-type of multipart/* or message/*.  If I'm reading the code right either of those would cause the rest of the message to be parsed, but because they aren't there it just stops after processing the first couple of header lines (and this only works if I remove the comment and the top boundary line, which the parser doesn't know what to do with).

This message was sent by Microsoft Entourage on a Mac, but I have another message that was sent by Outlook XP and although it looks a bit different it also lacks a content-type of multipart or message.

The version of mime.tcl I have says that it provides version 1.3.2.  I don't know where this file came from, and it's possible that it's bogus.  I would go back and try 1.2, but the only one I can find out there is 1.1, which is awfully old now.

Suggestions?  Am I on the right track here, at least?