Quantcast
Channel: Why can't I attach my zip file in Gmail? - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 4

Answer by jj_ for Why can't I attach my zip file in Gmail?

0
0

As others have pointed, Gmail blocks some files by their extensions (or even by their content), but I found a workaround.

Before sending the file, open it by reading it as hexadecimal, then save it with UTF-8 encoding; you can now send it to Gmail, and it won't complain as it won't be able to recognize what the file truly represents (just make sure to omit the typical file extensions Gmail doesn't like, or it will still make troubles just based on that).

When you receive the file at the other end, open it by reading it as UTF-8 and then save it back with hexadecimal encoding and... bam! You now have your original executable/compressed archive, which was clever enough to slide through the impervious Gmail lands without drawing attention ;)


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images