Help save net neutrality! Learn more.
Close

#397 Some text attachments loosing ^M

open
SMTP (27)
5
2012-10-09
2005-02-03
Don Beusee
No

If you try to email yahoopops.log file, you will see that
all the ^M's are gone, and so it doesn't look right in
notepad.

See this forum thread:

http://yahoopops.sourceforge.net/index.php?
name=PNphpBB2&file=viewtopic&t=1905

Discussion

  • Don Beusee

    Don Beusee - 2005-02-03

    Logged In: YES
    user_id=815616

    .txt files are handled correctly, .log files are not. Here is the
    MIME header as sent from outlook:

    ------=_NextPart_000_0075_01C509A0.8A7F8F00
    Content-Type: application/octet-stream;
    name="Copy_of_ypops.log"
    Content-Transfer-Encoding: quoted-printable
    Content-Disposition: attachment;
    filename="Copy_of_ypops.log"

    And the text file:
    ------=_NextPart_000_0075_01C509A0.8A7F8F00
    Content-Type: text/plain;
    name="credits.txt"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: attachment;
    filename="credits.txt"

    I think our version of MIME++ has a problem with quoted-
    printable encoding, either on the way into the DwString or
    on the way out.

    Maybe hunnysoft fixed it in 2.2.2?:

    Version 2.2.2 -- 24 July 2003

    • Bug fix: TextUtil::toLf() returns string with
      incorrect length
    • Bug fix: decoding error in Base64Decoder::decode
      () causes memory to be freed twice
    • Base64Decoder::decode() returns empty string if
      decoding error occurs
    • Added StringRep::reallocBuffer() function
    • Added QuotedPrintableDecoder::errorDetected()
      function
    • Internal changes to Base64Decoder,
      Base64Encoder, QuotedPrintableDecoder, and
      QuotedPrintableEncoder

    Or maybe in 3.0.4?:

    Version 3.0.4 -- 6 October 2004

    • Bug fix: QuotedPrintableDecoder::decode returns
      short decoded string.
    • Added new functions versionInfo() and buildInfo(),
      which return information about the version number and the
      build.
    • If mimepp::Initialize() successfully loads the ICU
      shared library or DLL, it then calls u_init() to initialize ICU.

    In any case, we need to replace the mimelib...

     
  • Don Beusee

    Don Beusee - 2006-07-18

    Logged In: YES
    user_id=815616

    ltd is doing this one...

     

Log in to post a comment.