Re: tnef2multipart winmail.dat convertor

From: Alexey Lobanov (
Date: Wed 21 May 2003 - 10:27:51 GMT

  • Next message: Alexey Lobanov: "Re: tnef2multipart winmail.dat convertor"


    I have severe problems while implementing tnef2multipart with Anomy (1.57 & 1.59
    tested). Looks like wrong MIME structure is generated when single file winmail.dat is
    replaced with multipart/mixed stuff. See:

    [...end of text/plain part...]

    Content-Type: multipart/mixed; name="mime-24501"; type="multipart/mixed"
    Content-Transfer-Encoding: binary
    Content-Disposition: attachment; filename="mime-24501"

    Content-Type: multipart/mixed; boundary="----------=_1053511062-24501-0"
    Content-Transfer-Encoding: binary
    MIME-Version: 1.0
    X-Mailer: MIME-tools 5.411 (Entity 5.404)
    Subject: (no subject)

    This is a multi-part message in MIME format...

    Content-Type: application/msword; name="1997ap2.doc"
    Content-Disposition: attachment; filename="1997ap2.doc"
    Content-Transfer-Encoding: Base64


    [..end of quote.]

    "--Message-Boundary-4440" belongs to initial, non-sanitized message. Removal of any of
    two "Content-Type: multipart/mixed" sets makes MIME intact. Unfortunately, I was not able
    to find this point in (?) yet. But I still try.

    Any help will be appreciated.


    hosted by