This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cannot open attachment

  • 4 replies
  • 1 has this problem
  • 1 view
  • Last reply by Matt

more options

Steps to reproduce:

I send / receive a message with a 7z attachment

Actual results:

I cannot open the attachment, I can only save it. I have changed the preferences - it does not help. Problem only with 7z extension, some files will open but most don't work, checked on other programs not only 7zip and all the time there is a problem. I need to be able to open the file without saving it. When I click on an attachment, nothing happens, no window appears to open the attachment, with other files it works, checked on different computers. When I select the button in the right corner open does not work either.

Expected results:

There should be a window to open the attachment using 7zip or some other program.

Steps to reproduce: I send / receive a message with a 7z attachment Actual results: I cannot open the attachment, I can only save it. I have changed the preferences - it does not help. Problem only with 7z extension, some files will open but most don't work, checked on other programs not only 7zip and all the time there is a problem. I need to be able to open the file without saving it. When I click on an attachment, nothing happens, no window appears to open the attachment, with other files it works, checked on different computers. When I select the button in the right corner open does not work either. Expected results: There should be a window to open the attachment using 7zip or some other program.

All Replies (4)

more options

open the message source (ctrl+U)

Locate the attachment. It will appear somewhat like the PDF one below.

Content-Type: application/pdf; name="PaySlip.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="PaySlip.pdf"

Does the attachment have a Content-Type defined? What is it?

I have trawled through the registered types and I can not find one for 7z. But perhaps I gave up to fast. https://www.iana.org/assignments/media-types/media-types.xhtml

more options

Content-Type: application/octet-stream; name="file.7z" Content-Disposition: attachment; filename="file.7z" Content-Transfer-Encoding: base64

more options

I found message where can i open attachment and there is Content-Transfer-Encoding: base64 Content-Type: application/x-7z-compressed;

How can i fix this?

more options

I suggest you talk to the one sending the mail and ask them to correctly encode what they send. An octet stream is basically a binary data stream which has one action. To save it and hopefully the recipient know what to do with it.