*.msg Attachments are displayd but not downloaded

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JayBee4pl
    Member
    • Oct 2019
    • 59

    *.msg Attachments are displayd but not downloaded

    We have sometimes attached Mails in the cases module. These are Outlook Mails and have .msg as ending. Something line "Re:Special new offer.msg"
    If we click on this attachment link it is display in the Browserwindow which shows garbage.
    I expect something like a Browser message which says "Download or open with Outlook"
    Is this a Espo topic or a Firefox topic?

    regards Jens
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    It would be a Firefox topic I believe, all handler of MIME (file) type is handle by your web browser. See if you can have a look in
    Firefox > Options > General > Applications > (search for .msg or outlook or try looking for anything relate to these filetype.)

    Comment

    • JayBee4pl
      Member
      • Oct 2019
      • 59

      #3
      Hi, es i know for now this are Settings in the Webserver.
      I changed following Files:
      /etc/mime.types

      i added "application/vnd.ms-outlook msg"


      /etc/httpd/conf/httpd.conf

      I added " AddType application/vnd.ms-outlook .msg"

      But it does not help.

      Are there Mime Type setting in PHP?

      Comment

      • JayBee4pl
        Member
        • Oct 2019
        • 59

        #4
        MIME Typ for MSG from here:

        Comment

        • JayBee4pl
          Member
          • Oct 2019
          • 59

          #5
          I need to bumb this Topic.
          It seems that the MIME Typ setting is done in PHP.
          Did some one know where to set?

          Comment

          • esforim
            Active Community Member
            • Jan 2020
            • 2204

            #6
            Can't help sorry. But here is a bump.

            I did tried to do a quick search for any tutorial but it seem like this might not be a general issue where we can modify it on a server level. But it might sound like it require changing a EspoCRM code.

            Also tried searching for "attachment" file to see if there anything that look related or obvious but no luck there either.

            Comment

            • JayBee4pl
              Member
              • Oct 2019
              • 59

              #7
              Hi,
              i found a colum "type" in the attachment table.
              If the mail2case function gets a mail with a msg attachment it is stored with type "message/rfc822". If i want to download Firefox will open this file with Outllok.
              if i upload am .msg file it gets the type "text/plain" and its not possible to open it with Outlook .

              How is the type determined while uploading a file?

              regards Jens
              Attached Files

              Comment

              • LuckyLouie
                Senior Member
                • Nov 2017
                • 172

                #8
                Has anyone managed to find a solution?

                Comment

                Working...