[gmime-devel] help on "message/rfc822" with base64 encoding



Title: help on "message/rfc822" with base64 encoding

Jeff,

  I am using gmime-2.4.11, and it doesn't seem to handle message attachment case like this:


    Content-Type: message/rfc822
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename="whatever.eml"

    MIME-Version: 1.0

    <base64-encoded-plain-text-message-here>


  In this case, after constructing the message with the GMimeParser from an .EML file, after
     GMimeMessage *gm_msg = g_mime_message_part_get_message(gm_msg_part);
I can't retrieve the regular properties from the message object.

  This case itself is rather rare, and I don't know if the "attachment" disposition should
overwrite "message/rfc822" and make it a regular attachment. But I think in this case the
problem is with the non-7-bit encoding that usually goes with "message/rfc822" type, which
is not too rare.

  Thanks in advance.

- Junping



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]