Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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

MATLAB attachments don't open in TextEdit

more options

I understand how to set applications for types on a Mac. However, there is a problem.

When I receive an email with a .m file (MATLAB), it should open in TextEdit (on a Mac) because that is the application I have set on my machine. I have also set unknown types and plain text to open using TextEdit. But Thunderbird opens a copy of the email message in another window and includes the .m file as an attachment. It seems to ignore that the default application is set to TextEdit.

I understand how to set applications for types on a Mac. However, there is a problem. When I receive an email with a .m file (MATLAB), it should open in TextEdit (on a Mac) because that is the application I have set on my machine. I have also set unknown types and plain text to open using TextEdit. But Thunderbird opens a copy of the email message in another window and includes the .m file as an attachment. It seems to ignore that the default application is set to TextEdit.

Chosen solution

If you open Preferences(or AppMenu/Options/Options)/Attachments/Incoming, is there an entry for .m content type files? If so, delete it by clicking the Action drop-down, OK, restart TB, double-click (Open) a .m attachment, and set the default application for .m files; if TextEdit isn't displayed, click the 'Open with' drop-down, Other... and browse to the TextEdit program.

On my Win 7 system, the default text editor is already offered as the default program for opening .m attachments, and the attachment is displayed inline as plain text.

Ler a resposta no contexto 👍 1

All Replies (1)

more options

Thank you. I did this and it seems to work. But I am confused why. ".m" files seem to show up as plain text files in the default applications list. I already had an entry that mapped plain text files to TextEdit. So it should have worked before.

Anyway, deleting the plain text file entry and following the steps above seemed to work.

Now, whether I am opening a .m attachment in an email I have received, or opening it in an email I am composing, everything works fine.

Thanks a bunch.