Why am I unable to send/receive MAT files (.mat) over email?

106 views (last 30 days)
I am attempting to send/receive one or more .mat files attached to an email, but they are being blocked. I see the following warning:
Outlook blocked access to the following potentially unsafe attachments: myReceivedFile.mat
Why is this the case and are there any workarounds for the issue?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Oct 2020
Edited: MathWorks Support Team on 23 Oct 2020
By default, Microsoft Outlook flags file attachments with the extension ".mat" as potentially unsafe. This is because the software treats .mat files as "Microsoft Access Table Shortcuts", a filetype that can occasionally be harmful. See here for more information on blocked file types:
If the recipient of your email message is using Microsoft Outlook as an email client, this is most likely why they are unable to view any .mat file attachments.
To workaround this issue, you can try one of several options:
  1. Compress the .mat file(s) into a zipped file and send it to your recipient.
  2. Edit the extension of the .mat file to be ".txt" and inform the recipient to revert the name to "filename.mat" after receiving it.
  3. Use a secure file transfer system instead of email routed to Outlook.
For other possible workarounds or customizing the workaround for your setup, please consult with your local IT department.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!