Menu

wrong mime type on attachments

Help
Anonymous
2003-09-03
2003-09-16
  • Anonymous

    Anonymous - 2003-09-03

    All of our attachments have the wrong mime type which means we can't open the files properly.  If you save it to disk and change the file extension it works fine so the file is not corrupt or anything just PHP/Smarty/Something is getting the wrong mime type.

    For example, a pdf file will come up as a Acrobat Active X Control instead of an Acrobat file, if you save it to disk the default filename is filename.htm. Once we change the filename to filename.pdf it will open fine.

    I am running this on a Mandrake 9.1 Linux server. Most normal web site links open fine in Mozilla so I assume the mime types are correct on the machine. Any help you can provide would be great. Thanks.

     
    • Benjamin Curtis

      Benjamin Curtis - 2003-09-16

      Take a look at some of the bugs.  There are some code changes you can make for better attachment behavior.  These suggestions will find their way into the next release.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.