TL;DR: Use Google Drive or other online filesharing
Only sensible & working way is to upload a file elswhere and send a link.
No, double zipping doesn't work, no, password protecting zip doesn't work, no, password encrypting file list doesn't work, no, renaming zip file to
.txt or something doesn't work.
If you have a Google account
If you are working within Google environment - just use Google Drive - you can even upload
.exe directly (yea, you read right) onto Google Drive and then just share it with the gmail/google accounts.
If you don't have a Google account
If you as a sender don't have a usable Google/Google Drive account, you can use many of the free file hosting services - however at least protect the uploaded file with a sufficient password and read terms&conditions of that service and find out possible security issues first.
Search the internet for: "share file online" to find such services.
Quoting Google to support these claims
Source: https://support.google.com/mail/answer/6590 , I've highlighted the important.
To protect your account from potential viruses and harmful software,
Gmail doesn't allow you to attach:
- 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 with archived content
Tip: If you try to attach a document that is too
large, your message won't send. Learn more about attachments and file
File 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.
File types blocked by Gmail are:
.ade, .adp, .apk, .appx, .appxbundle, .bat, .cab, .chm, .cmd, .com,
.cpl, .dll, .dmg, .ex, .ex_, .exe, .hta, .ins, .isp, .iso, .jar, .js,
.jse, .lib, .lnk, .mde, .msc, .msi, .msix, .msixbundle, .msp, .mst,
.nsh, .pif, .ps1, .scr, .sct, .shb, .sys, .vb, .vbe, .vbs, .vxd, .wsc,
All that being said I'm not claiming it's entirely impossible, but you'd have to go to extends that could even be considered illegal in some countries or would make it a pain for the receiver, so please, just don't :-)