Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

Opening attachments with unrecognised extensions

  • 1 답장
  • 1 이 문제를 만남
  • 11 보기
  • 최종 답변자: Matt

more options

We manufacture a system that uses specific configuration files with the extension .DUCX. We have developed our own app to use these files.

However, if a file XXX.DUCX is attached to an email and I double-click on it I am not asked which app to send it to. Instead it opens as a text file XXX.DUCX.TXT.

Thunderbird Options>>Files & Attachments allows the app for specific file types to be defined but doesn't offer the facility to add additional file types

We manufacture a system that uses specific configuration files with the extension .DUCX. We have developed our own app to use these files. However, if a file XXX.DUCX is attached to an email and I double-click on it I am not asked which app to send it to. Instead it opens as a text file XXX.DUCX.TXT. Thunderbird ''Options>>Files & Attachments'' allows the app for specific file types to be defined but doesn't offer the facility to add additional file types

모든 댓글 (1)

more options

Actually it allows for specific media types to be defined. Media types for the windows educated are not file extensions and there have been some spectacular snafus created by developers that are unaware of this.

You will need to correctly encode your attachment as something other than plain text (which it is apparently encoded as now) if you want it to be recognized as something other than plain text be email clients and web browsers.

The link is for "registered media types" https://www.iana.org/assignments/media-types/media-types.xhtml

There was an addon for V68 that opened attachment by extension but it has not been updated for V78 and later. Perhaps you might get some mileage there as you develop software. https://github.com/HiraokaHyperTools/OpenAttachmentByExtension/tree/master/js