From: Harald Meland Harald.Meland@usit.uio.no Date: den 21 januari 1999 13:16
I haven't tried this, but wouldn't simply squeezing the mail text through the .unmimify() method of the `mimify' standard Python module before formatting it into HTML work (for the QP/base64 MIME issue, multipart messages is a whole other can of worms)?
That's probably one way to go. A good thing trying to use existing code. I'm not sure what exactly .unmimify() does, though. The minimum requirements for messages written in western european languages would be for the archiver's email-to-html conversion to honor the MIME header encoding (RFC 2047) and the basics of MIME body format (RFC 2045).
Is there a problem with what headers are retained in the mbox-format version of the archive (i.e. are the headers needed for proper MIME decoding stripped from the archive)?
Not as far as I can see. Both Content-* and MIME-Version headers seem to be retained. The problem occurs when the static html pages are generated.