Menu ▾ ▴

#151 Can´t open attachments with nocc 0.9.5

closed
5
2014-08-19
2002-01-28
ZoY
No

When I receive a message with NOCC, with an
attachement, it doesn't open the file. The link to
the file is: http://xxx.xxx.xxx/download.php?
mail=2&part=1&transfer=OTHER&filename=%5Bunknown%
5D&mime=unknown-

In the attach it shows: 1 [unknown] unknown/ 37 kb

It seems not to know what the MIME type of the file.
I tried with a text file (.txt) and with a image
(.gif).
The message was sent with Outlook Express.

Discussion

  • ZoY

    ZoY - 2002-01-29
    • assigned_to: nobody --> nicocha
     
  • Cyril

    Cyril - 2002-04-17

    Logged In: YES
    user_id=517852

    The problem lies on the file class_send.php containing the
    class definition mime_mail. The header 'boundary=' should
    have no spaces between the equals sign and the key/value
    pair.

    On line 100 (started with '$multipart = '...)
    The line

    "\tboundary = $boundary"

    Should be changed to

    "\tboundary=\"$boundary\""

    (add double quotes between the boundary string and remove
    the spaces in front of and behind the equal sign.)

    This fix the bug in my case. Maybe you can try.

     
  • Ross Golder

    Ross Golder - 2002-04-24

    Logged In: YES
    user_id=20872

    Cheers, sounds like a reasonable fix. Done in CVS.

     
  • Ross Golder

    Ross Golder - 2002-04-24
    • status: open --> closed
     

Log in to post a comment.