File types blocked in Gmail
There are a number of reasons why you may see the "This message was blocked because its content presents a potential security issue" error in Gmail. Gmail blocks messages that may spread viruses, like messages that include executable files or certain links.
Why messages get blocked
To protect you against potential viruses and harmful software, Gmail doesn't allow you to attach certain types of files, including:
- Certain types of files, including their compressed form (like .gz or .bz2 files) or when found within archives (like .zip or .tgz files)
- Documents with malicious macros
- Password protected archives whose content is an archive
Note: If you try to attach a document that is too large, your message won't send. Learn more about attachments and file size limits.
Types you can't include as attachments
To protect your account, Gmail doesn't allow you to attach certain types of files. Gmail often updates the types of files not allowed to keep up with harmful software that is constantly changing. Some examples include:
.ADE, .ADP, .BAT, .CHM, .CMD, .COM, .CPL, .DLL, .DMG, .EXE, .HTA, .INS, .ISP, .JAR, .JS, .JSE, .LIB, .LNK, .MDE, .MSC, .MSI, .MSP, .MST, .NSH .PIF, .SCR, .SCT, .SHB, .SYS, .VB, .VBE, .VBS, .VXD, .WSC, .WSF, .WSH, .CAB
What you can do
Sometimes messages are blocked when you don't include any attachments.
This can happen when you include content, images, or links that might share viruses.
Andrea is a Gmail expert and the author of this help page. Leave her feedback about this help page.