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

attachment file action

more options

Hi, i'm trying to send a file which his extension is .mail and Thunderbird is looking at this as email attachment so i looked inside $home/.thunderbird/$profile/handlers.json and i added my own entry : "mail":{"action":2,"handlers":[{"name":"gedit","path":"/usr/bin/gedit"}],"ask":true}}} so for now i have a new line in my preference for mail but still the same problem this problem appears only with Thunderbird, for gnome the file association is with gedit and works great also my coworker is using Outlook and it's ok for him.

Hi, i'm trying to send a file which his extension is .mail and Thunderbird is looking at this as email attachment so i looked inside $home/.thunderbird/$profile/handlers.json and i added my own entry : "mail":{"action":2,"handlers":[{"name":"gedit","path":"/usr/bin/gedit"}],"ask":true}}} so for now i have a new line in my preference for mail but still the same problem this problem appears only with Thunderbird, for gnome the file association is with gedit and works great also my coworker is using Outlook and it's ok for him.
Attached screenshots

Chosen solution

i'm trying to send a file which his extension is .mail

Your screenshot is about attachment related actions for incoming mail. The file type of attachments and the resulting action is determined base on MIME type, not the file name extension.

What are you trying to achieve in the first place, and what is the actual problem?

Read this answer in context 👍 0

All Replies (4)

more options

Chosen Solution

i'm trying to send a file which his extension is .mail

Your screenshot is about attachment related actions for incoming mail. The file type of attachments and the resulting action is determined base on MIME type, not the file name extension.

What are you trying to achieve in the first place, and what is the actual problem?

more options

Hi, thank you for your reply. I just want to send an attachment (MaillageMPI.mail). Thunderbird is altering this file by associating it as an email. So when i send it, in my sent folder the file is an blank email. And for receiver is an empty file. Hope its more clear and sorry for my english.

more options
I just want to send an attachment (MaillageMPI.mail).

What kind of file is this - plain text, binary, anything else?

Thunderbird is altering this file by associating it as an email.

Thunderbird would not alter attachments. Is there any error message? Where is the file to be attached stored? On your local disk?

when i send it, in my sent folder the file is an blank email.

When you check the message source, what's in there? Press Ctrl-U in a message window.

more options

hi, MaillageMPI.mail is ASCII text when i say Thunderbird is altering this file by associating it as an email: i mean when i double click on the file on my computer it open gedit but as soos as i attached on the email when i double click it it open a new email window. no error message and the fil is in my computer. thank you.