Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Opening attachments with unrecognised extensions

  • 1 réponse
  • 1 a ce problème
  • 11 vues
  • Dernière réponse par 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

Toutes les réponses (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